summaryrefslogtreecommitdiff
path: root/git-compat-util.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-02-26 13:37:13 -0800
committerJunio C Hamano <gitster@pobox.com>2016-02-26 13:37:13 -0800
commitdede29612a723a7da9f489fecbdf02500a018430 (patch)
treee09b30d6a8ec19c8d8ff4e92b8f7246fc6b7d1ec /git-compat-util.h
parent7943cba1ded6c5e295d06f9de6664999db5a09a8 (diff)
parent63ca1c099c36e61b0e9cd7fa0b912c0b9d89b628 (diff)
downloadgit-dede29612a723a7da9f489fecbdf02500a018430.tar.gz
Merge branch 'ak/git-strip-extension-from-dashed-command'
Code simplification. * ak/git-strip-extension-from-dashed-command: git.c: simplify stripping extension of a file in handle_builtin()
Diffstat (limited to 'git-compat-util.h')
-rw-r--r--git-compat-util.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/git-compat-util.h b/git-compat-util.h
index 693a336ff5..2acef3f113 100644
--- a/git-compat-util.h
+++ b/git-compat-util.h
@@ -325,10 +325,6 @@ extern char *gitdirname(char *);
#define _PATH_DEFPATH "/usr/local/bin:/usr/bin:/bin"
#endif
-#ifndef STRIP_EXTENSION
-#define STRIP_EXTENSION ""
-#endif
-
#ifndef has_dos_drive_prefix
static inline int git_has_dos_drive_prefix(const char *path)
{