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

Re: What's cooking in git.git (Nov 2018, #03; Wed, 7)

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Nov 9, 2018, 12:02 UTC
Message-ID
<nycvar.QRO.7.76.6.1811091300580.39@tvgsbejvaqbjf.bet>
In-Reply-To
<96d474cf-dc40-fa40-94ae-3883e63a3cb0@talktalk.net>
Hi Phillip,
On Thu, 8 Nov 2018, Phillip Wood wrote:
Show 30 quoted lines
> On 07/11/2018 09:41, Junio C Hamano wrote:
> > Here are the topics that have been cooking.  Commits prefixed with
> > '-' are only in 'pu' (proposed updates) while commits prefixed with
> > '+' are in 'next'.  The ones marked with '.' do not appear in any of
> > the integration branches, but I am still holding onto them.
> > 
> > You can find the changes described here in the integration branches
> > of the repositories listed at
> > 
> >      http://git-blame.blogspot.com/p/git-public-repositories.html
> > 
> > --------------------------------------------------
> > 
> > * pw/add-p-select (2018-07-26) 4 commits
> >   - add -p: optimize line selection for short hunks
> >   - add -p: allow line selection to be inverted
> >   - add -p: select modified lines correctly
> >   - add -p: select individual hunk lines
> > 
> >   "git add -p" interactive interface learned to let users choose
> >   individual added/removed lines to be used in the operation, instead
> >   of accepting or rejecting a whole hunk.
> > 
> >   Will discard.
> >   No further feedbacks on the topic for quite some time.
> 
> Unfortunately I've not found time to work on this recently and don't see
> myself doing so before the new year so I think it makes sense to drop it.
> Hopefully I can come up with something next year, it would be nice for users
> to avoid having to edit patches where possible.

If I understand correctly, this patch series essentially imitates on the console what you can do in Git GUI by selecting multiple lines in the diff and then "Stage Selected Lines"?

If my understanding is correct, then yes, I would be very much in favor of having this feature, too.

Thanks, Dscho

Previous: Phillip Wood
Message 9 of 9 in “What's cooking in git.git (Nov 2018, #03; Wed, 7)”
  1. Junio C HamanoNov 7, 2018
  2. Ævar Arnfjörð BjarmasonNov 7, 2018
  3. Junio C HamanoNov 7, 2018
  4. SZEDER GáborNov 7, 2018
  5. Duy NguyenNov 7, 2018
  6. Junio C HamanoNov 7, 2018
  7. Junio C HamanoNov 8, 2018
  8. Phillip WoodNov 8, 2018
  9. Johannes SchindelinNov 9, 2018

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.