summaryrefslogtreecommitdiff
path: root/src/diff.h
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2012-04-25 22:23:35 +0200
committerRussell Belfer <rb@github.com>2012-04-25 15:37:17 -0700
commiteb3d71a5bcd78cb4840e62194e8998141508af88 (patch)
tree6121c4a4dae045c693f47a3ca8fbe5355221b2a6 /src/diff.h
parent3fc5c65d1a072fc727226cd66a1b096df4919da5 (diff)
downloadlibgit2-eb3d71a5bcd78cb4840e62194e8998141508af88.tar.gz
diff: fix generation of the header of a removal patch
Diffstat (limited to 'src/diff.h')
-rw-r--r--src/diff.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/diff.h b/src/diff.h
index 4de18beea..6c432c894 100644
--- a/src/diff.h
+++ b/src/diff.h
@@ -14,6 +14,9 @@
#include "repository.h"
#include "pool.h"
+#define DIFF_SRC_PREFIX_DEFAULT "a/"
+#define DIFF_DST_PREFIX_DEFAULT "b/"
+
enum {
GIT_DIFFCAPS_HAS_SYMLINKS = (1 << 0), /* symlinks on platform? */
GIT_DIFFCAPS_ASSUME_UNCHANGED = (1 << 1), /* use stat? */