diff options
author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | 2006-12-20 17:37:07 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-12-21 23:10:14 -0800 |
commit | 7cab5883ffd643916d0322a1d3360a79ccf6f653 (patch) | |
tree | b053fdaa042bab6106c8b50baedccf100c28aec1 /xdiff-interface.h | |
parent | fa39b6b5b11f9b580c515a7b4a8e4eb8eaa79b75 (diff) | |
download | git-7cab5883ffd643916d0322a1d3360a79ccf6f653.tar.gz |
move read_mmfile() into xdiff-interface
read_file() was a useful function if you want to work with the xdiff stuff,
so it was renamed and put into a more central place.
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'xdiff-interface.h')
-rw-r--r-- | xdiff-interface.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xdiff-interface.h b/xdiff-interface.h index 1346908bea..1918808081 100644 --- a/xdiff-interface.h +++ b/xdiff-interface.h @@ -17,5 +17,6 @@ int xdiff_outf(void *priv_, mmbuffer_t *mb, int nbuf); int parse_hunk_header(char *line, int len, int *ob, int *on, int *nb, int *nn); +int read_mmfile(mmfile_t *ptr, const char *filename); #endif |