summaryrefslogtreecommitdiff
path: root/git-parse-remote-script
AgeCommit message (Collapse)AuthorFilesLines
2005-08-30parse-remote: trivial fix to allow refs/{heads,tags}/ spelled easier.Libravatar Junio C Hamano1-0/+4
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>
2005-08-24[PATCH] Allow "+remote:local" refspec to cause --force when fetching.Libravatar Junio C Hamano1-4/+11
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>
2005-08-24[PATCH] Start adding the $GIT_DIR/remotes/ support.Libravatar Junio C Hamano1-0/+144
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>