Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2012-09-11 13:42:13 +0400
committernulltoken <emeric.fermas@gmail.com>2012-09-25 09:49:15 +0400
commit0adfa20aefcd18262214a22042d303721cc7d23a (patch)
tree11fbf058764125e09358fdcc4f778b1cbb3bdf51 /src/refspec.h
parent77e06d7e8547e82336489b7cdeb04294ed3d6015 (diff)
refspec: introduce git_refspec__parse()
Diffstat (limited to 'src/refspec.h')
-rw-r--r--src/refspec.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/refspec.h b/src/refspec.h
index 2db504910..2f46b3e59 100644
--- a/src/refspec.h
+++ b/src/refspec.h
@@ -20,6 +20,10 @@ struct git_refspec {
};
int git_refspec_parse(struct git_refspec *refspec, const char *str);
+int git_refspec__parse(
+ struct git_refspec *refspec,
+ const char *str,
+ bool is_fetch);
/**
* Transform a reference to its target following the refspec's rules,