Tree
- Tree:
a3bf047922734414c771d3959a9b6235072eb265
- Date:
- Message:
- fix interaction of 'got fetch -b', got.conf, and work tree Without branches in got.conf for a remote, and without -b/-R options, the fallback to HEAD would only work when not invoked in a work tree. With this fix 'got fetch' should behave as described in the man page. The -b option now overrides both got.conf and the fallback to the work tree's branch. And fallback to HEAD works as expected when invoked in a repository. Also, do not strictly require remote repositories to provide a branch from the refs/heads/ namespace. In such cases users should be able to use -R to select something to fetch. ok jamsek
Makefile.am | commits | blame |
gotadmin.1 | commits | blame |
gotadmin.c | commits | blame |