Junio C Hamano writes:
> Matthieu Moy writes:
>
> This adds %(path) and %(path:short) atoms. The %(path) atom will print
> the path of the given ref, while %(path:short) will only print the
> subdirectory of the given ref.
On Sat, Oct 3, 2015 at 3:32 PM, Matthieu Moy
wrote:
> Karthik Nayak writes:
>
>> This adds %(path) and %(path:short) atoms. The %(path) atom will print
>> the path of the given ref, while %(path:short) will only print the
>> subdirectory of
Karthik Nayak writes:
> On Sat, Oct 3, 2015 at 3:32 PM, Matthieu Moy
> wrote:
>> Karthik Nayak writes:
>>
>>> This adds %(path) and %(path:short) atoms. The %(path) atom will print
>>> the path of the given ref, while
Matthieu Moy writes:
This adds %(path) and %(path:short) atoms. The %(path) atom will print
the path of the given ref, while %(path:short) will only print the
subdirectory of the given ref.
>>>
>>> What does "path" mean in this context? How is it
On Mon, Oct 5, 2015 at 12:14 AM, Junio C Hamano wrote:
>
> Is that a derived form of the refname, just like %(refname:short)
> that is 'master' for a ref whose %(refname) is 'refs/heads/master'
> is a derived form of %(refname), and ":short" is what tells the
> formatting
Karthik Nayak writes:
> This adds %(path) and %(path:short) atoms. The %(path) atom will print
> the path of the given ref, while %(path:short) will only print the
> subdirectory of the given ref.
What does "path" mean in this context? How is it different from
%(refname)?
This adds %(path) and %(path:short) atoms. The %(path) atom will print
the path of the given ref, while %(path:short) will only print the
subdirectory of the given ref.
Add tests and documentation for the same.
---
Documentation/git-for-each-ref.txt | 5 +
ref-filter.c
7 matches
Mail list logo