File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,15 @@ and try to set `--ref` from them.
6464 | other | other | "" | error |
6565 |----------|---------|---------|------------------------------|
6666
67+ #### Default target
68+
69+ In git-sync v3, if neither ` --branch ` nor ` --rev ` were specified, the default
70+ was to sync the HEAD of the branch named "master". Many git repos have changed
71+ to "main" or something else as the default branch name, so git-sync v4 changes
72+ the default target to be the HEAD of whatever the ` --repo ` 's default branch is.
73+ If that default branch is not "master", then the default target will be
74+ different in v4 than in v3.
75+
6776#### Abbreviated hashes
6877
6978Because of the fetch loop, git-sync v3 allowed a user to specify ` --branch ` and
You can’t perform that action at this time.
0 commit comments