Kalle Olavi Niemitalo <kon@xxxxxx> writes: > In Git v1.5.4.1, Documentation/config.txt describes: > >> branch.autosetupmerge:: >> Tells `git-branch` and `git-checkout` to setup new branches >> so that linkgit:git-pull[1] will appropriately merge from that >> remote branch. Note that even if this option is not set, >> this behavior can be chosen per-branch using the `--track` >> and `--no-track` options. This option defaults to false. > > However, in builtin-branch.c: > >> static int branch_track = 1; > ... >> if (!strcmp(var, "branch.autosetupmerge")) >> branch_track = git_config_bool(var, value); > > So if the option is not listed in .git/config, then it actually > defaults to true. A demonstration with a bit older version: Correct. 34a3e69 (git-branch: default to --track) did it without updating the documentation. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html