git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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 master
And 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
Previous: Junio C HamanoNext: Junio C Hamano
Message 24 of 26 in “Port branch.c to use ref-filter's printing options”
  1. 00/17 Port branch.c to use ref-filter's printing optionsKarthik Nayak, May 15, 2016
  2. 01/17 ref-filter: implement %(if), %(then), and %(else) atomsKarthik Nayak, May 15, 2016
  3. 02/17 ref-filter: include reference to 'used_atom' within 'atom_value'Karthik Nayak, May 15, 2016
  4. 03/17 ref-filter: implement %(if:equals=<string>) and %(if:notequals=<string>)Karthik Nayak, May 15, 2016
  5. 04/17 ref-filter: modify "%(objectname:short)" to take lengthKarthik Nayak, May 15, 2016
  6. 05/17 ref-filter: move get_head_description() from branch.cKarthik Nayak, May 15, 2016
  7. Junio C HamanoMay 17, 2016
  8. Karthik NayakMay 20, 2016
  9. 06/17 ref-filter: introduce format_ref_array_item()Karthik Nayak, May 15, 2016
  10. 07/17 ref-filter: make %(upstream:track) prints "[gone]" for invalid upstreamsKarthik Nayak, May 15, 2016
  11. 08/17 ref-filter: add support for %(upstream:track,nobracket)Karthik Nayak, May 15, 2016
  12. 09/17 ref-filter: make "%(symref)" atom work with the ':short' modifierKarthik Nayak, May 15, 2016
  13. 10/17 ref-filter: introduce refname_atom_parser_internal()Karthik Nayak, May 15, 2016
  14. 11/17 ref-filter: introduce symref_atom_parser() and refname_atom_parser()Karthik Nayak, May 15, 2016
  15. 12/17 ref-filter: make remote_ref_atom_parser() use refname_atom_parser_internal()Karthik Nayak, May 15, 2016
  16. 13/17 ref-filter: add `:dir` and `:base` options for ref printing atomsKarthik Nayak, May 15, 2016
  17. 14/17 ref-filter: allow porcelain to translate messages in the outputKarthik Nayak, May 15, 2016
  18. 15/17 branch, tag: use porcelain outputKarthik Nayak, May 15, 2016
  19. 16/17 branch: use ref-filter printing APIsKarthik Nayak, May 15, 2016
  20. 17/17 branch: implement '--format' optionKarthik Nayak, May 15, 2016
  21. Junio C HamanoMay 16, 2016
  22. Karthik NayakMay 17, 2016
  23. Junio C HamanoMay 17, 2016
  24. Karthik NayakMay 17, 2016
  25. Junio C HamanoMay 17, 2016
  26. Karthik NayakMay 18, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.