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

Re: [PATCH] rebase -p -i: handle "no changes" gracefully

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 17, 2007, 20:23 UTC
Message-ID
<7vprx56pfn.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<Pine.LNX.4.64.0712171649420.9446@racer.site>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 19 quoted lines
> Since commit 376ccb8cbb453343998e734d8a1ce79f57a4e092, unchanged
> SHA-1s are no longer mapped via $REWRITTEN.  But the updating
> phase was not prepared for the old head not being rewritten.
>
> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
> ---
>
> 	On Mon, 17 Dec 2007, Pieter de Bie wrote:
>
> 	> Ok, but what about the error in the rebase?
> 	> 
> 	> On Dec 14, 2007, at 2:21 AM, Pieter de Bie wrote:
> 	> > Tirana:~/git pieter$ time git rebase -p -i HEAD~100
> 	> > cat:
> 	> > /Users/pieter/git/.git/.dotest-merge/rewritten/1e8df762b38e01685f3aa3613e2d61f73346fcbe:
> 	> > No such file or directory
>
> 	This buglet was not caught earlier, probably because a 
> 	non-rewriting rebase is not really interesting ;-)
Hmph, care to add a test to t3404?
Previous: Johannes SchindelinNext: Johannes Schindelin
Message 5 of 7 in “[BUG?] git rebase -i”
  1. Pieter de BieDec 14, 2007
  2. Johannes SixtDec 14, 2007
  3. Pieter de BieDec 17, 2007
  4. rebase -p -i: handle "no changes" gracefullyJohannes Schindelin, Dec 17, 2007
  5. Junio C HamanoDec 17, 2007
  6. rebase -p -i: handle "no changes" gracefullyJohannes Schindelin, Dec 17, 2007
  7. Junio C HamanoDec 18, 2007

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.