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:
Diffstat (limited to 'setup.c')
-rw-r--r--setup.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/setup.c b/setup.c
index 70b887fe68..ce87900ce3 100644
--- a/setup.c
+++ b/setup.c
@@ -264,13 +264,6 @@ const char **get_pathspec(const char *prefix, const char **pathspec)
return pathspec;
}
-char *pathspec_prefix(const char **pathspec)
-{
- size_t len = common_prefix_len(pathspec);
-
- return len ? xmemdupz(*pathspec, len) : NULL;
-}
-
/*
* Test if it looks like we're at a git directory.
* We want to see: