diff options
author | Russell Belfer <arrbee@arrbee.com> | 2012-03-05 11:28:36 +0400 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2012-05-03 02:34:58 +0400 |
commit | 16b83019af63d837b6934bcf1b71b8697d5d94c8 (patch) | |
tree | 09f9ca31b329fc630629d11aa097e6563f1904b5 /src/diff.h | |
parent | b88021463f9ca4ebffe8e2a5b15d4b09be465923 (diff) |
Fix usage of "new" for fieldname in public header
This should restore the ability to include libgit2 headers
in C++ projects.
Cherry picked 2de60205dfea2c4a422b2108a5e8605f97c2e895 from
development into new-error-handling.
Diffstat (limited to 'src/diff.h')
-rw-r--r-- | src/diff.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/diff.h b/src/diff.h index 6c432c894..ac2457956 100644 --- a/src/diff.h +++ b/src/diff.h @@ -14,8 +14,8 @@ #include "repository.h" #include "pool.h" -#define DIFF_SRC_PREFIX_DEFAULT "a/" -#define DIFF_DST_PREFIX_DEFAULT "b/" +#define DIFF_OLD_PREFIX_DEFAULT "a/" +#define DIFF_NEW_PREFIX_DEFAULT "b/" enum { GIT_DIFFCAPS_HAS_SYMLINKS = (1 << 0), /* symlinks on platform? */ |