Git development
 help / color / mirror / Atom feed
* Why does diff --binary include content of files being deleted?
@ 2008-06-22  3:34 Allan Wind
  2008-06-22  3:51 ` Shawn O. Pearce
  0 siblings, 1 reply; 4+ messages in thread
From: Allan Wind @ 2008-06-22  3:34 UTC (permalink / raw)
  To: git

Between tag1 and tag2 I am deleting a number of binary files, and I was 
surprised seeing the binaries being added to the diff when said files
are to be deleted:

git diff --binary tag1 tag2 > /tmp/diff && ls -l /tmp/diff
-rw-r--r-- 1 allan users 555135993 2008-06-21 22:37 /tmp/diff

git diff tag1 tag2 > /tmp/diff2 && ls -l /tmp/diff2
-rw-r--r-- 1 allan users 12862 2008-06-21 23:33 /tmp/diff2



/Allan

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-06-22  4:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-22  3:34 Why does diff --binary include content of files being deleted? Allan Wind
2008-06-22  3:51 ` Shawn O. Pearce
2008-06-22  4:05   ` Allan Wind
2008-06-22  4:15     ` Shawn O. Pearce

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox