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.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/setup.c b/setup.c
index 5048252d78..84f71d5ee0 100644
--- a/setup.c
+++ b/setup.c
@@ -197,9 +197,6 @@ const char *prefix_pathspec(const char *prefix, int prefixlen, const char *elt)
}
if (*copyfrom == ')')
copyfrom++;
- } else if (!elt[1]) {
- /* Just ':' -- no element! */
- return NULL;
} else {
/* shorthand */
for (copyfrom = elt + 1;