aboutsummaryrefslogtreecommitdiffstats
path: root/remote.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2022-07-13 14:54:53 -0700
committerJunio C Hamano <gitster@pobox.com>2022-07-13 14:54:54 -0700
commit33f448b5fc916e6be266b857617a3b27a467da81 (patch)
treec7d5504ddc69cea5ffb8b9b36ad67a0f014846a0 /remote.c
parent6fccbdaa51376494fbcfbe75ad2cd75e0c7cead6 (diff)
parent2c80a82e34311b7363ec99c3034a2f2711704c7f (diff)
downloadgit-33f448b5fc916e6be266b857617a3b27a467da81.tar.gz
Merge branch 'jk/remote-show-with-negative-refspecs'
"git remote show [-n] frotz" now pays attention to negative pathspec. * jk/remote-show-with-negative-refspecs: remote: handle negative refspecs in git remote show
Diffstat (limited to 'remote.c')
-rw-r--r--remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote.c b/remote.c
index b19e3a2f01..1ee2b145d0 100644
--- a/remote.c
+++ b/remote.c
@@ -850,7 +850,7 @@ static int refspec_match(const struct refspec_item *refspec,
return !strcmp(refspec->src, name);
}
-static int omit_name_by_refspec(const char *name, struct refspec *rs)
+int omit_name_by_refspec(const char *name, struct refspec *rs)
{
int i;