summaryrefslogtreecommitdiff
path: root/git-rebase.sh
diff options
context:
space:
mode:
authorLibravatar Mehul Jain <mehul.jain2029@gmail.com>2016-03-21 23:48:03 +0530
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-03-21 13:30:36 -0700
commitf66398eb57c627169429f47bbe4d943d2c975959 (patch)
tree39b8fcb3543a6f5ebb800bf7a14b0c1590783d3d /git-rebase.sh
parentgit-pull.c: introduce git_pull_config() (diff)
downloadtgif-f66398eb57c627169429f47bbe4d943d2c975959.tar.xz
pull --rebase: add --[no-]autostash flag
If rebase.autoStash configuration variable is set, there is no way to override it for "git pull --rebase" from the command line. Teach "git pull --rebase" the --[no-]autostash command line flag which overrides the current value of rebase.autoStash, if set. As "git rebase" understands the --[no-]autostash option, it's just a matter of passing the option to underlying "git rebase" when "git pull --rebase" is called. Helped-by: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> Helped-by: Junio C Hamano <gitster@pobox.com> Helped-by: Paul Tan <pyokagan@gmail.com> Helped-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Mehul Jain <mehul.jain2029@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-rebase.sh')
0 files changed, 0 insertions, 0 deletions