author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Sun, 25 Jun 2006 01:51:08 +0000 (03:51 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Mon, 26 Jun 2006 21:44:03 +0000 (14:44 -0700) | ||
commit | fcb3d0adc13b398c930814a5e0c886717acc1b70 | |
tree | a0a41abd59d4af738cce02163a1fa2b42e1d2334 | tree | snapshot |
parent | 1ef9e05dbf36a80bb65fb150dd7bdd60852db777 | commit | diff |
add diff_flush_patch_id() to calculate the patch id
Call it like this:
unsigned char id[20];
if (diff_flush_patch_id(diff_options, id))
printf("And the patch id is: %s\n", sha1_to_hex(id));
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Call it like this:
unsigned char id[20];
if (diff_flush_patch_id(diff_options, id))
printf("And the patch id is: %s\n", sha1_to_hex(id));
Signed-off-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
diff.c | diff | blob | history | |
diff.h | diff | blob | history |