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

Re: What's cooking in git.git (Feb 2017, #02; Mon, 6)

From
Jacob Keller <jacob.keller@gmail.com>
Date
Feb 7, 2017, 01:17 UTC
Message-ID
<CA+P7+xpdhYG77LA6QkHrJwP0_3t4_0vB11Y0jyw6=w9_w=mY9Q@mail.gmail.com>
In-Reply-To
<CAM0VKjmhO9NQLz9TDv5M3OhxSBt-JdjaouVT0pTA-a6mGaF4_A@mail.gmail.com>
On Mon, Feb 6, 2017 at 4:24 PM, SZEDER Gábor <szeder.dev@gmail.com> wrote:
Show 39 quoted lines
>> * sg/completion-refs-speedup (2017-02-06) 13 commits
>>  - squash! completion: fill COMPREPLY directly when completing refs
>>  - completion: fill COMPREPLY directly when completing refs
>>  - completion: list only matching symbolic and pseudorefs when completing refs
>>  - completion: let 'for-each-ref' sort remote branches for 'checkout' DWIMery
>>  - completion: let 'for-each-ref' filter remote branches for 'checkout' DWIMery
>>  - completion: let 'for-each-ref' strip the remote name from remote branches
>>  - completion: let 'for-each-ref' and 'ls-remote' filter matching refs
>>  - completion: don't disambiguate short refs
>>  - completion: don't disambiguate tags and branches
>>  - completion: support excluding full refs
>>  - completion: support completing full refs after '--option=refs/<TAB>'
>>  - completion: wrap __git_refs() for better option parsing
>>  - completion: remove redundant __gitcomp_nl() options from _git_commit()
>>  (this branch uses sg/completion.)
>>
>>  Will hold.
>>  This seems to break 9902 when merged to 'pu'.
>
> All failing tests fail with the same error:
>
>   fatal: unrecognized %(refname:strip=2) argument: strip=2
>
> That's because of this topic:
>
>> * kn/ref-filter-branch-list (2017-01-31) 20 commits
>>   (merged to 'next' on 2017-01-31 at e7592a5461)
>>  + branch: implement '--format' option
>>  + branch: use ref-filter printing APIs
>>  + branch, tag: use porcelain output
>>  + ref-filter: allow porcelain to translate messages in the output
>>  + ref-filter: add an 'rstrip=<N>' option to atoms which deal with refnames
>>  + ref-filter: modify the 'lstrip=<N>' option to work with negative '<N>'
>>  + ref-filter: Do not abruptly die when using the 'lstrip=<N>' option
>>  + ref-filter: rename the 'strip' option to 'lstrip'
>
> And in particular this commit, which, well, does what it's subject
> says it's doing, thus breaking backwards compatibility.
>
What about making strip a deprecated variant of lstrip?

Thanks, Jake

Previous: SZEDER GáborNext: Junio C Hamano
Message 3 of 17 in “What's cooking in git.git (Feb 2017, #02; Mon, 6)”
  1. Junio C HamanoFeb 6, 2017
  2. SZEDER GáborFeb 7, 2017
  3. Jacob KellerFeb 7, 2017
  4. Junio C HamanoFeb 7, 2017
  5. Stefan BellerFeb 9, 2017
  6. Junio C HamanoFeb 9, 2017
  7. Jeff KingFeb 9, 2017
  8. Junio C HamanoFeb 9, 2017
  9. Junio C HamanoFeb 10, 2017
  10. Johannes SchindelinFeb 9, 2017
  11. Junio C HamanoFeb 9, 2017
  12. Johannes SchindelinFeb 9, 2017
  13. Junio C HamanoFeb 9, 2017
  14. Johannes SchindelinFeb 9, 2017
  15. Michael HaggertyFeb 9, 2017
  16. Junio C HamanoFeb 9, 2017
  17. Junio C HamanoFeb 9, 2017

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.