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

Re: selective git-update-index per diff(1) chunks

From
Jakub Narebski <jnareb@gmail.com>
Date
Dec 4, 2006, 18:05 UTC
Message-ID
<el1nsi$vat$1@sea.gmane.org>
In-Reply-To
<20061204173318.GG940MdfPADPa@greensroom.kotnet.org>
Sven Verdoolaege wrote:
Show 17 quoted lines
> On Fri, Dec 01, 2006 at 02:23:14PM +0300, Alexey Dobriyan wrote:
>> Has anyone thought about aggregating this into git-update-index or
>> somewhere?
>> 
>>    git-update-index -C1,3    #chunks 1, 3
>>    git commit
>>    git-update-index -C1,3    # chunks 2,5 in original numbering
>>    git commit
>> 
>> Relying on diff(1) definition of chunks is sorta hacky, though... I admit 
>> it.
> 
> Paul Mackerras modified his dirdiff tool to do something like this.
> I have a couple of patches on top of his version from way back at
> http://www.liacs.nl/~sverdool/gitweb.cgi?p=dirdiff.git;a=summary
> 
> I don't know if he has continued working on this.
If this has support for git, could you add it to GitWiki:
  http://git.or.cz/gitwiki/InterfacesFrontendsAndTools
And perhaps also update related page
  http://git.or.cz/gitwiki/InterfacesFrontendsAndToolsWishlist
Thanks in advance.
-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Previous: Sven VerdoolaegeNext: Jakub Narebski
Message 9 of 12 in “selective git-update-index per diff(1) chunks”
  1. Alexey DobriyanDec 1, 2006
  2. Peter BaumannDec 1, 2006
  3. Junio C HamanoDec 1, 2006
  4. Anand KumriaDec 1, 2006
  5. Johannes SchindelinDec 1, 2006
  6. Sam VilainDec 2, 2006
  7. Linus TorvaldsDec 1, 2006
  8. Sven VerdoolaegeDec 4, 2006
  9. Jakub NarebskiDec 4, 2006
  10. Jakub NarebskiDec 4, 2006
  11. Sven VerdoolaegeDec 4, 2006
  12. Jakub NarebskiDec 4, 2006

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.