Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
refs DWIMmery: use the same rule for both "git fetch" and others
[gitweb.git]
/
refs.c
diff --git
a/refs.c
b/refs.c
index ff20eeb5ba7a4d26d52d359263cb191cfbc61496..026c7ea25dde100c19b5a1edca4280c20c18f7ee 100644
(file)
--- a/
refs.c
+++ b/
refs.c
@@
-995,14
+995,6
@@
const char *ref_rev_parse_rules[] = {
NULL
};
-const char *ref_fetch_rules[] = {
- "%.*s",
- "refs/%.*s",
- "refs/tags/%.*s",
- "refs/heads/%.*s",
- NULL
-};
-
int refname_match(const char *abbrev_name, const char *full_name, const char **rules)
{
const char **p;