summaryrefslogtreecommitdiff
path: root/setup.c
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 70b887f..ce87900 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: