Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2016-03-10 22:13:48 +0300
committerJunio C Hamano <gitster@pobox.com>2016-03-10 22:13:48 +0300
commit08e21c9b5f3996152080ff22d33d9d2866a3dc26 (patch)
tree3bdc2b3e76ad26523ef7ea81a4ff199910384d6e /git-compat-util.h
parentc6f399c96f5a323a11f63a54553664c596bf0e2d (diff)
parent63ca1c099c36e61b0e9cd7fa0b912c0b9d89b628 (diff)
Merge branch 'ak/git-strip-extension-from-dashed-command' into maint
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 1459f9b87e..c07e0c1778 100644
--- a/git-compat-util.h
+++ b/git-compat-util.h
@@ -333,10 +333,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)
{