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

Re: [PATCH] Add git-edit-index.perl

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Dec 18, 2008, 13:48 UTC
Message-ID
<alpine.DEB.1.00.0812181446430.6952@intel-tinevez-2-302>
In-Reply-To
<20081218043734.GD20749@coredump.intra.peff.net>
Hi,
On Wed, 17 Dec 2008, Jeff King wrote:
Show 8 quoted lines
> On Wed, Dec 17, 2008 at 08:47:49PM +0000, Neil Roberts wrote:
> 
> > This script can be used to edit a file in the index without affecting 
> > your working tree. It checkouts a copy of the file to a temporary file 
> > and runs an editor on it. If the editor completes successfully with a 
> > non-empty file then it updates the index with the new data.
> 
> Hmm. Neat idea.

Yes, it is a neat idea. But I always keep in mind what Junio had to say about my "add -e" thing (that I use pretty frequently myself): you will put something into the index that has _never_ been tested.

Would we really want to bless such a workflow with "official" support?

Ciao, Dscho

Previous: Jeff KingNext: Jeff King
Message 3 of 8 in “Add git-edit-index.perl”
  1. Add git-edit-index.perlNeil Roberts, Dec 17, 2008
  2. Jeff KingDec 18, 2008
  3. Johannes SchindelinDec 18, 2008
  4. Jeff KingDec 18, 2008
  5. Johannes SchindelinDec 18, 2008
  6. Miklos VajnaDec 18, 2008
  7. Johannes SchindelinDec 18, 2008
  8. Junio C HamanoDec 18, 2008

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.