Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
remote-bzr: remove files before modifications
author
Christophe Simonis
<christophe@kn.gl>
Sat, 6 Apr 2013 03:49:18 +0000
(21:49 -0600)
committer
Junio C Hamano
<gitster@pobox.com>
Sun, 7 Apr 2013 07:39:26 +0000
(
00:39
-0700)
Allow re-add of a deleted file in the same commit.
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/remote-helpers/git-remote-bzr
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
82447e3
)
diff --git
a/contrib/remote-helpers/git-remote-bzr
b/contrib/remote-helpers/git-remote-bzr
index a7d041baeccab8d976f2237586f5e35ff6ada40c..f818e93f1192d779a8ac8e3694f217f481af98db 100755
(executable)
--- a/
contrib/remote-helpers/git-remote-bzr
+++ b/
contrib/remote-helpers/git-remote-bzr
@@
-303,10
+303,10
@@
def export_branch(branch, name):
else:
print "merge :%s" % m
+ for f in removed:
+ print "D %s" % (f,)
for f in modified_final:
print "M %s :%u %s" % f
- for f in removed:
- print "D %s" % (f)
print
count += 1