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

Re: Bug in git rebase --continue in v1.8.4

From
AGAndriy Gapon <avg@freebsd.org>
Date
Sep 4, 2013, 08:02 UTC
Message-ID
<5226E8FC.8070208@FreeBSD.org>
In-Reply-To
<5221E661.1070200@gmx.de>
Christoph Mallon said:
Show 11 quoted lines
> if I run rebase --continue (e.g. after a conflict resolution), then the rebase always ends with this error message:
> 	It seems that there is already a rebase-apply directory, and
> 	I wonder if you are in the middle of another rebase.  If that is the
> 	case, please try
>         	git rebase (--continue | --abort | --skip)
> 	If that is not the case, please
>         	rm -fr "/home/tron/gitRebaseTest/test/.git/rebase-apply"
> 	and run me again.  I am stopping in case you still have something
> 	valuable there.
> 
> This happens on git v1.8.4 on FreeBSD. It is fine with v1.8.3.4.

I observe exactly the same problem. I also use FreeBSD and the problem started with 1.8.4.

Judging by the lack of followups, could this be a FreeBSD-specific problem? Any thoughts / suggestions? Thank you!

Show 13 quoted lines
> It seems to be caused by
> a1549e1049439386b9fd643fae236ad3ba649650, specifically this hunk:
> 	--- a/git-rebase--am.sh
> 	+++ b/git-rebase--am.sh
> 	 <at>  <at>  -7,12 +7,12  <at>  <at>  case "$action" in
> 	 continue)
> 	  git am --resolved --resolvemsg="$resolvemsg" &&
> 	  move_to_original_branch
> 	- exit
> 	+ return
> 	  ;;
> 	 skip)
> 	  git am --skip --resolvemsg="$resolvemsg" &&
-- 
Andriy Gapon
Previous: Christoph MallonNext: Matthieu Moy
Message 2 of 6 in “Bug in git rebase --continue in v1.8.4”
  1. Christoph MallonAug 31, 2013
  2. Andriy GaponSep 4, 2013
  3. Matthieu MoySep 4, 2013
  4. Andriy GaponSep 4, 2013
  5. Andriy GaponSep 4, 2013
  6. Matthieu MoySep 4, 2013

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.