/
uis
/
git
/
x
/
uis
/
git
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
git-remote: reject adding remotes with invalid names
[git/git.git]
/
remote.h
diff --git
a/remote.h
b/remote.h
index
7e9ae79
..
a38774b
100644
(file)
--- a/
remote.h
+++ b/
remote.h
@@
-67,6
+67,7
@@
void free_refs(struct ref *ref);
*/
void ref_remove_duplicates(struct ref *ref_map);
+int valid_fetch_refspec(const char *refspec);
struct refspec *parse_fetch_refspec(int nr_refspec, const char **refspec);
struct refspec *parse_push_refspec(int nr_refspec, const char **refspec);