summaryrefslogtreecommitdiff
path: root/src/diff.c
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.c
parent3fc5c65d1a072fc727226cd66a1b096df4919da5 (diff)
downloadlibgit2-eb3d71a5bcd78cb4840e62194e8998141508af88.tar.gz
diff: fix generation of the header of a removal patch
Diffstat (limited to 'src/diff.c')
-rw-r--r--src/diff.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/diff.c b/src/diff.c
index 7d2ad59aa..b239031a2 100644
--- a/src/diff.c
+++ b/src/diff.c
@@ -232,9 +232,6 @@ static int diff_delta__from_two(
return 0;
}
-#define DIFF_SRC_PREFIX_DEFAULT "a/"
-#define DIFF_DST_PREFIX_DEFAULT "b/"
-
static char *diff_strdup_prefix(git_pool *pool, const char *prefix)
{
size_t len = strlen(prefix);