summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bb95e19)
raw | patch | inline | side by side (parent: bb95e19)
author | Santi Béjar <sbejar@gmail.com> | |
Sun, 18 Mar 2007 23:16:23 +0000 (00:16 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 20 Mar 2007 08:52:11 +0000 (01:52 -0700) |
This fixes the single force (+) when fetched with fetch_per_ref.
Also use $LF as separator because IFS is $LF.
Signed-off-by: Santi Béjar <sbejar@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Also use $LF as separator because IFS is $LF.
Signed-off-by: Santi Béjar <sbejar@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-fetch.sh | patch | blob | history |
diff --git a/git-fetch.sh b/git-fetch.sh
index e21804284398016a789b415dec9332700d33f8e6..93349330d45ad43c5c7e146a942d76b78c0e2ee9 100755 (executable)
--- a/git-fetch.sh
+++ b/git-fetch.sh
append_fetch_head () {
flags=
- test -n "$verbose" && flags="$flags -v"
- test -n "$force" && flags="$flags -f"
+ test -n "$verbose" && flags="$flags$LF-v"
+ test -n "$force$single_force" && flags="$flags$LF-f"
GIT_REFLOG_ACTION="$GIT_REFLOG_ACTION" \
git-fetch--tool $flags append-fetch-head "$@"
}