Teach --text option to diff

Add new item text to struct diff_options.
If set then do not try to detect binary files.

Signed-off-by: Stephan Feder <sf@b-i-t.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Stephan Feder
2006-07-07 12:33:57 +02:00
committed by Junio C Hamano
parent 6bdca89057
commit 6d64ea965b
2 changed files with 5 additions and 1 deletions

1
diff.h
View File

@ -42,6 +42,7 @@ struct diff_options {
unsigned recursive:1,
tree_in_recursive:1,
binary:1,
text:1,
full_index:1,
silent_on_remove:1,
find_copies_harder:1,