diff options
author | Bert Wesarg <bert.wesarg@googlemail.com> | 2020-01-27 08:04:30 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-02-10 10:52:10 -0800 |
commit | 923d4a5ca4f86c19247ef436e6d03d261ebce904 (patch) | |
tree | e75aaa513b27247ef80fa4fbe920e7e89aaa1e47 /t/chainlint/p4-filespec.test | |
parent | remote: clean-up config callback (diff) | |
download | tgif-923d4a5ca4f86c19247ef436e6d03d261ebce904.tar.xz |
remote rename/remove: handle branch.<name>.pushRemote config values
When renaming or removing a remote with
git remote rename X Y
git remote remove X
Git already renames/removes any config values from
branch.<name>.remote = X
to
branch.<name>.remote = Y
As branch.<name>.pushRemote also names a remote, it now also renames
or removes these config values from
branch.<name>.pushRemote = X
to
branch.<name>.pushRemote = Y
Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/chainlint/p4-filespec.test')
0 files changed, 0 insertions, 0 deletions