Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
merge-recursive: adjust git-ls-tree use for the latest.
author
Junio C Hamano
<junkio@cox.net>
Fri, 2 Dec 2005 05:39:41 +0000
(21:39 -0800)
committer
Junio C Hamano
<junkio@cox.net>
Fri, 2 Dec 2005 05:39:41 +0000
(21:39 -0800)
You need to pass -t flag if you want to see tree objects in
"git-ls-tree -r" output these days. This change broke the tree
structure reading code in git-merge-recursive used to detect D/F
conflicts.
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-merge-recursive.py
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
10b15b8
)
diff --git
a/git-merge-recursive.py
b/git-merge-recursive.py
index e599b11cc57ecd0219d39fbfc8141fa5455755bf..b7fb0961e0758c566c459f51b6983f99e694ee4f 100755
(executable)
--- a/
git-merge-recursive.py
+++ b/
git-merge-recursive.py
@@
-98,7
+98,7
@@
def merge(h1, h2, branch1Name, branch2Name, graph, callDepth=0):
def getFilesAndDirs(tree):
files = Set()
dirs = Set()
def getFilesAndDirs(tree):
files = Set()
dirs = Set()
- out = runProgram(['git-ls-tree', '-r', '-z', tree])
+ out = runProgram(['git-ls-tree', '-r', '-z',
'-t',
tree])
for l in out.split('\0'):
m = getFilesRE.match(l)
if m:
for l in out.split('\0'):
m = getFilesRE.match(l)
if m: