Re: [PATCH v6 00/17] Port branch.c to use ref-filter's printing options
- From
Karthik Nayak <karthik.188@gmail.com>
- Date
- May 17, 2016, 19:02 UTC
- Message-ID
- <CAOLa=ZQ-XwEhTRwoNhrBH=NCQhpsHR=PfgtDrfJs23j6hkBWRA@mail.gmail.com>
- In-Reply-To
- <xmqqtwhwwp0c.fsf@gitster.mtv.corp.google.com>
On Tue, May 17, 2016 at 11:22 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 33 quoted lines
> Karthik Nayak <karthik.188@gmail.com> writes:
>
>> Hello, sorry for the confusion, it's built on top of 'next' which contains
>> f307218 (t6302: simplify non-gpg cases). The merge conflict is due to the
>> commit made by you 1cca17df (Documentation: fix linkgit references).
>
> That is not "confusion", but an "incorrect piece of information".
>
> The series does not seem to apply on 'next', either.
>
> Where did you exactly rebase on top of? It is not on f307218, it is
> not on 'next', 'next@{1}',... 'next@{8}'.
>
> f3072180 (t6302: simplify non-gpg cases, 2016-05-09) was merged to
> 'next' at 9fcb98b2 (Merge branch 'es/test-gpg-tags' into next,
> 2016-05-10), but the series does not seem to apply there, either.
>
> $ git co 9fcb98b2
> Applying: ref-filter: implement %(if), %(then), and %(else) atoms
> error: patch failed: Documentation/git-for-each-ref.txt:181
> error: Documentation/git-for-each-ref.txt: patch does not apply
> Patch failed at 0001 ref-filter: implement %(if), %(then), and %(else) atoms
> The copy of the patch that failed is found in: .git/rebase-apply/patch
> When you have resolved this problem, run "git am --continue".
> If you prefer to skip this patch, run "git am --skip" instead.
> To restore the original branch and stop patching, run "git am --abort".
>
> Not that a series built on top of any 'next' is directly usable.
> You are forcing me to identify which topics in 'next' you depend on,
> and build a topic that does not contain anything unrelated that is
> in 'next' before starting to apply these patches. Can you pick a
> more appropriate place to base these patches on, please? Why isn't
> this based on 'master', for example?Hello,
Sorry for that. The only reason I haven't based it on 'master' is because it doesn't contain 'f307218'.
➔ git branch --contains=f307218 next ref-filter
Now speaking of which, this is based on next.
➔ git branch -v
* next 78b384c Sync with masterAnd Idk what the problem is but it seems to apply perfectly on top of it [1]
➔ git am v6-00* Applying: ref-filter: implement %(if), %(then), and %(else) atoms Applying: ref-filter: include reference to 'used_atom' within 'atom_value' Applying: ref-filter: implement %(if:equals=<string>) and %(if:notequals=<string>) Applying: ref-filter: modify "%(objectname:short)" to take length Applying: ref-filter: move get_head_description() from branch.c Applying: ref-filter: introduce format_ref_array_item() Applying: ref-filter: make %(upstream:track) prints "[gone]" for invalid upstreams Applying: ref-filter: add support for %(upstream:track,nobracket) Applying: ref-filter: make "%(symref)" atom work with the ':short' modifier Applying: ref-filter: introduce refname_atom_parser_internal() Applying: ref-filter: introduce symref_atom_parser() and refname_atom_parser() Applying: ref-filter: make remote_ref_atom_parser() use refname_atom_parser_internal() Applying: ref-filter: add `:dir` and `:base` options for ref printing atoms Applying: ref-filter: allow porcelain to translate messages in the output Applying: branch, tag: use porcelain output Applying: branch: use ref-filter printing APIs Applying: branch: implement '--format' option
[1] : https://github.com/KarthikNayak/git/commits/ref-filter
-- Regards, Karthik Nayak