/
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
refspec: consolidate ref-prefix generation logic
[git/git.git]
/
refspec.h
diff --git
a/refspec.h
b/refspec.h
index
7e1ff94
..
01b700e
100644
(file)
--- a/
refspec.h
+++ b/
refspec.h
@@
-41,4
+41,8
@@
void refspec_clear(struct refspec *rs);
int valid_fetch_refspec(const char *refspec);
int valid_fetch_refspec(const char *refspec);
+struct argv_array;
+void refspec_ref_prefixes(const struct refspec *rs,
+ struct argv_array *ref_prefixes);
+
#endif /* REFSPEC_H */
#endif /* REFSPEC_H */