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 'refspec.c')
-rw-r--r--refspec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/refspec.c b/refspec.c
index 6f317d6b44..f10ef284ce 100644
--- a/refspec.c
+++ b/refspec.c
@@ -222,8 +222,8 @@ void refspec_ref_prefixes(const struct refspec *rs,
if (item->pattern) {
const char *glob = strchr(prefix, '*');
strvec_pushf(ref_prefixes, "%.*s",
- (int)(glob - prefix),
- prefix);
+ (int)(glob - prefix),
+ prefix);
} else {
expand_ref_prefix(ref_prefixes, prefix);
}