On 06/08/2015 11:32 PM, Junio C Hamano wrote:
Karthik Nayak writes:
+ * Given a refname, return 1 if the refname matches with one of the patterns
You can "match refname with pattern". But "refname matches the
pattern" without "with", I think.
I am not a native, though.
+ * while the patt
Karthik Nayak writes:
> + * Given a refname, return 1 if the refname matches with one of the patterns
You can "match refname with pattern". But "refname matches the
pattern" without "with", I think.
I am not a native, though.
> + * while the pattern is a pathname like 'refs/tags' or 'refs/hea
Extract two helper functions out of grab_single_ref(). Firstly,
new_refinfo() which is used to allocate memory for a new refinfo
structure and copy the objectname, refname and flag to it.
Secondly, match_name_as_path() which when given an array of patterns
and the refname checks if the refname matc
3 matches
Mail list logo