Merge branch 'jh/push-default-upstream-configname' into maint
* jh/push-default-upstream-configname: push.default: Rename 'tracking' to 'upstream'
This commit is contained in:
6
config.c
6
config.c
@ -729,8 +729,10 @@ static int git_default_push_config(const char *var, const char *value)
|
||||
push_default = PUSH_DEFAULT_NOTHING;
|
||||
else if (!strcmp(value, "matching"))
|
||||
push_default = PUSH_DEFAULT_MATCHING;
|
||||
else if (!strcmp(value, "tracking"))
|
||||
push_default = PUSH_DEFAULT_TRACKING;
|
||||
else if (!strcmp(value, "upstream"))
|
||||
push_default = PUSH_DEFAULT_UPSTREAM;
|
||||
else if (!strcmp(value, "tracking")) /* deprecated */
|
||||
push_default = PUSH_DEFAULT_UPSTREAM;
|
||||
else if (!strcmp(value, "current"))
|
||||
push_default = PUSH_DEFAULT_CURRENT;
|
||||
else {
|
||||
|
Reference in New Issue
Block a user