diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-02-09 13:08:34 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-02-09 13:08:34 -0400 |
commit | 13d6dd57bd0a7229afb5d18c25d4a20d8339b63a (patch) | |
tree | 06756aaca8cc866e095059a23829e1665d317dc6 | |
parent | cb8efd6e659395e697ac3f577a0ade1a5bdbde63 (diff) |
push details
-rw-r--r-- | doc/design/adjusted_branches.mdwn | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/doc/design/adjusted_branches.mdwn b/doc/design/adjusted_branches.mdwn index 9269db24d..66c97e79b 100644 --- a/doc/design/adjusted_branches.mdwn +++ b/doc/design/adjusted_branches.mdwn @@ -33,9 +33,9 @@ the original branch yet. Then we need to get from that commit to one with the filters reversed, which should be the same as if the adjusted branch had not been used. +This commit gets added onto the original branch. -Note that this commit should have as its parent the tip of the original -branch. So, the branches would look like this: +So, the branches would look like this: master adjusted/master A ---filter----> A @@ -56,7 +56,8 @@ filter. This will make other checkouts that are in the same adjusted branch end up with the same B'' commit when they pull B. It might be useful to have a post-commit hook that generates the -reverse-filtered commit and updates the original branch. +reverse-filtered commit and updates the original branch. And/or +`git-annex sync` could do it. The new master branch can then be pushed out to remotes. The adjusted/master branch is not pushed to remotes. `git-annex sync` should @@ -80,9 +81,10 @@ includes the local adjustments. If the user refers to commit shas (in, eg commit messages), those won't be visible to anyone else. -Running `git push` when in adjusted/master won't push anything -(with "matching" push strategy). Users may find that surprising. -Users of `git-annex sync` won't need to worry about it though. +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 |