]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'bw/remote-rename-update-config'
authorJunio C Hamano <gitster@pobox.com>
Tue, 25 Feb 2020 19:18:32 +0000 (11:18 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 25 Feb 2020 19:18:32 +0000 (11:18 -0800)
"git remote rename X Y" needs to adjust configuration variables
(e.g. branch.<name>.remote) whose value used to be X to Y.
branch.<name>.pushRemote is now also updated.

* bw/remote-rename-update-config:
  remote rename/remove: gently handle remote.pushDefault config
  config: provide access to the current line number
  remote rename/remove: handle branch.<name>.pushRemote config values
  remote: clean-up config callback
  remote: clean-up by returning early to avoid one indentation
  pull --rebase/remote rename: document and honor single-letter abbreviations rebase types

1  2 
Makefile
builtin/pull.c
config.c

diff --cc Makefile
Simple merge
diff --cc builtin/pull.c
Simple merge
diff --cc config.c
Simple merge