diff options
author | Martin von Zweigbergk <martin.von.zweigbergk@gmail.com> | 2011-09-10 19:39:23 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-09-12 04:40:00 (GMT) |
commit | b52d00aedeb94f12a16afcef1bb33c989f9b4105 (patch) | |
tree | 9a3e5ec235ecdc84adc7d9effbf5aead7cb18140 /Documentation/git-mergetool.txt | |
parent | 1822b86a515af708e2259bae2b6a1f2052a2d3aa (diff) | |
download | git-b52d00aedeb94f12a16afcef1bb33c989f9b4105.zip git-b52d00aedeb94f12a16afcef1bb33c989f9b4105.tar.gz git-b52d00aedeb94f12a16afcef1bb33c989f9b4105.tar.bz2 |
remote: only update remote-tracking branch if updating refspec
'git remote rename' will only update the remote's fetch refspec if it
looks like a default one. If the remote has no default fetch refspec,
as in
[remote "origin"]
url = git://git.kernel.org/pub/scm/git/git.git
fetch = +refs/heads/*:refs/remotes/upstream/*
we would not update the fetch refspec and even if there is a ref
called "refs/remotes/origin/master", we should not rename it, since it
was not created by fetching from the remote.
Suggested-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Martin von Zweigbergk <martin.von.zweigbergk@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-mergetool.txt')
0 files changed, 0 insertions, 0 deletions