Move buffer_is_binary() to xdiff-interface.h
commit634cd48a8afdd920fa26c8ec3ae43e96c82c81f2
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Tue, 5 Jun 2007 02:36:11 +0000 (5 03:36 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 16 Jun 2007 06:27:23 +0000 (15 23:27 -0700)
treeef740f010a3a287514ce61583b8e92581621fecf
parentfa0c87c34471286b6c261c781a45ed090135295c
Move buffer_is_binary() to xdiff-interface.h

We already have two instances where we want to determine if a buffer
contains binary data as opposed to text.

[jc: cherry-picked 6bfce93e from 'master']

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c
grep.c
xdiff-interface.c
xdiff-interface.h