aboutsummaryrefslogtreecommitdiff
path: root/git-parse-remote-script
Commit message (Collapse)AuthorAge
* parse-remote: trivial fix to allow refs/{heads,tags}/ spelled easier.Junio C Hamano2005-08-30
| | | | | | | | | Earlier we always prefixed refs/heads to the token given to "git fetch" (and "git pull") as refspec. This was a mistake. Allow them to be spelled like "master:refs/tags/paulus" to mean "I want to fetch the master there and store it as my local "paulus" tag. Signed-off-by: Junio C Hamano <junkio@cox.net>
* [PATCH] Allow "+remote:local" refspec to cause --force when fetching.Junio C Hamano2005-08-24
| | | | | | | | | | | | 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>
* [PATCH] Start adding the $GIT_DIR/remotes/ support.Junio C Hamano2005-08-24
All the necessary parsing code is in git-parse-remote-script; update git-push-script to use it. Signed-off-by: Junio C Hamano <junkio@cox.net>