summaryrefslogtreecommitdiff
path: root/git-merge-recursive.py
diff options
context:
space:
mode:
authorLibravatar Fredrik Kuivinen <freku045@student.liu.se>2005-11-09 11:42:57 +0100
committerLibravatar Junio C Hamano <junkio@cox.net>2005-11-09 12:32:36 -0800
commit186f855fc639f2063e5f02abc75ca39464a35500 (patch)
tree132cf7a143b9ed08e69399da6caa0c627d26f181 /git-merge-recursive.py
parentmerge-recursive: Fix limited output of rename messages (diff)
downloadtgif-186f855fc639f2063e5f02abc75ca39464a35500.tar.xz
merge-recursive: Fix support for branch names containing slashes
A branch name could have a slash in it. Signed-off-by: Fredrik Kuivinen <freku045@student.liu.se> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-merge-recursive.py')
-rwxr-xr-xgit-merge-recursive.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-merge-recursive.py b/git-merge-recursive.py
index 36578754ce..90e889c300 100755
--- a/git-merge-recursive.py
+++ b/git-merge-recursive.py
@@ -295,6 +295,7 @@ def uniquePath(path, branch):
else:
raise
+ branch = branch.replace('/', '_')
newPath = path + '_' + branch
suffix = 0
while newPath in currentFileSet or \