Code

[PATCH] Allow "+remote:local" refspec to cause --force when fetching.
authorJunio C Hamano <junkio@cox.net>
Tue, 23 Aug 2005 05:52:43 +0000 (22:52 -0700)
committerJunio C Hamano <junkio@cox.net>
Wed, 24 Aug 2005 23:50:53 +0000 (16:50 -0700)
commitefe9bf0f3b34d12b3b76f8277550f91700609b25
tree50ecb933fd3117f7360eb7c5e9c481359d0f5abe
parent521003ff52d1cf742350e1342bc2dd4ab1b51e6b
[PATCH] Allow "+remote:local" refspec to cause --force when fetching.

With this we could say:

    Pull: master:ko-master +pu:ko-pu

to mean "fast forward ko-master with master, overwrite ko-pu with pu",
and the latter one does not require the remote "pu" to be descendant
of local "ko-pu".

Signed-off-by: Junio C Hamano <junkio@cox.net>
git-fetch-script
git-parse-remote-script