Code

diff --no-index: support /dev/null as filename
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Sun, 25 Feb 2007 22:36:31 +0000 (23:36 +0100)
committerJunio C Hamano <junkio@cox.net>
Sun, 4 Mar 2007 08:20:31 +0000 (00:20 -0800)
commit0c725f1bd938fa2b626e910773e622a385daced2
treed44a9208e852d6379861c7956b8d2a565055250a
parent3afaa72d7d4e52d5fa1bc19abb68301f2b09aca6
diff --no-index: support /dev/null as filename

This allows us to create "new file" and "delete file" patches.
It also cleans up the code.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
diff-lib.c