git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Disappearing change on pull rebase
@ 2011-11-10 13:15 Pitucha, Stanislaw Izaak
  2011-11-10 14:23 ` Kirill Likhodedov
  0 siblings, 1 reply; 8+ messages in thread
From: Pitucha, Stanislaw Izaak @ 2011-11-10 13:15 UTC (permalink / raw)
  To: git@vger.kernel.org

[-- Attachment #1: Type: text/plain, Size: 1038 bytes --]

Hi all,
I've got an issue with some operations. It seems like git eats one of my commits (it's still in reflog, but in normal tree, it's unavailable).

What I did is:

checkout -b feature/....
(edit files and commit)
checkout master
merge --no-ff --no-commit feature/...
(edit some files, change versions, changelog)
commit

Now I've got the change committed in the branch and some more changes on the merge commit.
So before pushing to the main repo, I'd like to check if any other changes are there:

pull --rebase

Now my merge commit disappears completely along with the changes without any warning. I get the branch commits duplicated on top of master and the branch stays as it was.
That looks like a data loss bug to me since I can only recover a committed change from reflog and there are no warnings before that change goes away (using 1.7.4.1). Actually no changes were done in upstream in the meantime, so the rebase was not even needed.

Regards,
Stanisław Pitucha
Cloud Services 
Hewlett Packard



[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 6216 bytes --]

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

end of thread, other threads:[~2011-11-11 16:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-10 13:15 Disappearing change on pull rebase Pitucha, Stanislaw Izaak
2011-11-10 14:23 ` Kirill Likhodedov
2011-11-10 13:35   ` Pitucha, Stanislaw Izaak
2011-11-11  6:56     ` Johannes Sixt
2011-11-11  9:50       ` Philippe Vaucher
2011-11-11 10:04         ` Johannes Sixt
2011-11-11 10:08           ` Philippe Vaucher
2011-11-11 16:31       ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).