summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 228e2eb)
raw | patch | inline | side by side (parent: 228e2eb)
author | Junio C Hamano <junkio@cox.net> | |
Fri, 22 Dec 2006 23:25:21 +0000 (15:25 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 22 Dec 2006 23:25:21 +0000 (15:25 -0800) |
This will not be backward compatible no matter how you cut it.
Shelve it for now until somebody comes up with a better way to
determine when we can safely refuse to use the first set of
branchse for merging without upsetting valid workflows.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Shelve it for now until somebody comes up with a better way to
determine when we can safely refuse to use the first set of
branchse for merging without upsetting valid workflows.
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-parse-remote.sh | patch | blob | history |
diff --git a/git-parse-remote.sh b/git-parse-remote.sh
index f163821d033cc0dc81dcd7ce0af13a7e75986db1..b163d22ddbd88dc061ac905fc650929eb6f67cc1 100755 (executable)
--- a/git-parse-remote.sh
+++ b/git-parse-remote.sh
merge_branches=$(git-repo-config \
--get-all "branch.${curr_branch}.merge")
fi
- # If we are fetching only one branch, then first branch
- # is the only thing that makes sense to merge anyway,
- # so there is no point refusing that traditional rule.
- if test $# != 1 && test "z$merge_branches" = z
- then
- merge_branches=..this..would..never..match..
- fi
fi
for ref
do