Skip to content

Commit

Permalink
merge-recursive: Fix support for branch names containing slashes
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Fredrik Kuivinen authored and Junio C Hamano committed Nov 9, 2005
1 parent c8a4f5e commit 186f855
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions git-merge-recursive.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ def fileExists(path):
else:
raise

branch = branch.replace('/', '_')
newPath = path + '_' + branch
suffix = 0
while newPath in currentFileSet or \
Expand Down

0 comments on commit 186f855

Please sign in to comment.