All of lore.kernel.org
 help / color / mirror / Atom feed
* A call for better git-rebase messages
@ 2006-12-19 10:17 Jakub Narebski
  2006-12-19 10:30 ` Junio C Hamano
  0 siblings, 1 reply; 2+ messages in thread
From: Jakub Narebski @ 2006-12-19 10:17 UTC (permalink / raw)
  To: git

 $ git rebase abort
 mkdir: cannot create directory `.dotest': File exists

 It seems that I cannot create a .dotest directory, and I wonder if you
 are in the middle of patch application or another rebase.  If that is not
 the case, please rm -fr .dotest and run me again.  I am stopping in case
 you still have something valuable there.

Why we do not tell to run "git rebase --abort" here? I think the command
know that it is a middle of git-rebase, not the middle of git-am...


 $ git rebase --onto origin next gitweb/web
 Nothing to do.

I'm not sure, but I think gitweb/web which was empty branch based off
former next is now empty branch based off current gitweb, i.e. at least
head of this branch has changed... but I'm not sure because

 $ git rebase --abort

is _not_ recorded as such, but as "reset --hard ORIG_HEAD" (I think).
It looks like it is, because after "reset --hard ORIG_HEAD" (which was
result of "git rebase --abort" of "git rebase origin" (I forgot
gitweb/web was based off other branch) there is "reset --hard <sha1>",
and this sha1 is sha1 of both gitweb/web and origin.

I'd rather rebase told me that it did something (moved head), but
there are no patches to be applied.
-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: A call for better git-rebase messages
  2006-12-19 10:17 A call for better git-rebase messages Jakub Narebski
@ 2006-12-19 10:30 ` Junio C Hamano
  0 siblings, 0 replies; 2+ messages in thread
From: Junio C Hamano @ 2006-12-19 10:30 UTC (permalink / raw)
  To: Jakub Narebski; +Cc: git

Jakub Narebski <jnareb@gmail.com> writes:

>  $ git rebase abort
>  mkdir: cannot create directory `.dotest': File exists
>
>  It seems that I cannot create a .dotest directory, and I wonder if you
>  are in the middle of patch application or another rebase.  If that is not
>  the case, please rm -fr .dotest and run me again.  I am stopping in case
>  you still have something valuable there.
>
> Why we do not tell to run "git rebase --abort" here? I think the command
> know that it is a middle of git-rebase, not the middle of git-am...

Does it?  At least the original author of the command does not
know if you did this:

	$ git am mbox
        ... ugh, conflicted.
	$ git rebase master

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-12-19 10:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-19 10:17 A call for better git-rebase messages Jakub Narebski
2006-12-19 10:30 ` Junio C Hamano

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.