This commit is contained in:
Joey Hess 2016-02-09 13:51:49 -04:00
parent 1c9f4e81a6
commit e4c85c856b
Failed to extract signature

View file

@ -100,11 +100,17 @@ The new master branch can then be pushed out to remotes. The
adjusted/master branch is not pushed to remotes. `git-annex sync` should adjusted/master branch is not pushed to remotes. `git-annex sync` should
automatically push master when adjusted/master is checked out. automatically push master when adjusted/master is checked out.
When push.default is "simple" (the new default), running `git push` when in
adjusted/master won't push anything. It would with "matching". Pity. (I
continue to feel git picked the wrong default here.) Users may find that
surprising. Users of `git-annex sync` won't need to worry about it though.
## problems ## problems
Using `git checkout` when in an adjusted branch is problimatic, because a Using `git checkout` when in an adjusted branch is problimatic, because a
non-adjusted branch would then be checked out. But, we can just say, if non-adjusted branch would then be checked out. But, we can just say, if
you want to get into an adjusted branch, you have to run some command. you want to get into an adjusted branch, you have to run some command.
Or, could make a post-checkout hook.
Tags are bit of a problem. If the user tags an ajusted branch, the tag Tags are bit of a problem. If the user tags an ajusted branch, the tag
includes the local adjustments. includes the local adjustments.
@ -112,11 +118,6 @@ includes the local adjustments.
If the user refers to commit shas (in, eg commit messages), those won't be If the user refers to commit shas (in, eg commit messages), those won't be
visible to anyone else. visible to anyone else.
When push.default is "simple" (the new default), running `git push` when in
adjusted/master won't push anything. It would with "matching". Users may
find that surprising. Users of `git-annex sync` won't need to worry about
it though.
## integration with view branches ## integration with view branches
Entering a view from an adjusted branch should probably carry the filtering Entering a view from an adjusted branch should probably carry the filtering