From: Petr Baudis <pasky@suse.cz>
To: Linus Torvalds <torvalds@osdl.org>
Cc: Ryan Anderson <ryan@michonline.com>,
Nico -telmich- Schottelius <nico-linux-git@schottelius.org>,
Git ML <git@vger.kernel.org>
Subject: Re: files are disappearing in git
Date: Fri, 25 Nov 2005 23:48:57 +0100 [thread overview]
Message-ID: <20051125224857.GA10680@pasky.or.cz> (raw)
In-Reply-To: <Pine.LNX.4.64.0511251400570.13959@g5.osdl.org>
Dear diary, on Fri, Nov 25, 2005 at 11:11:22PM CET, I got a letter
where Linus Torvalds <torvalds@osdl.org> said that...
> For example, let's say that you had a dirty tree or something, and then
> the merge failed, and you didn't see anything wrong, so you just end up
> doing a "git commit". At _that_ point, what you had in the index matters
> very much, of course, since the index is what will be committed.
>
> > I think that's the situation where I've personally managed to lose
> > and/or revert some changes.
>
> Hmm.. Can you elaborate?
>
> (Side note: all my commentary is purely about the "raw git" interfaces. I
> don't know what cogito may do on top of it).
Note that Cogito is now (v0.15.1 or later) supposed to handle merges on
top of trees with local changes fine - it will either error out, or in
case the merge is done on unrelated files it will temporarily ignore
your local changes and cg-commit won't mix them up (even if you do some
conflict fixups).
--
Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
VI has two modes: the one in which it beeps and the one in which
it doesn't.
next prev parent reply other threads:[~2005-11-25 22:49 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-23 14:23 files are disappearing in git Nico -telmich- Schottelius
2005-11-23 17:20 ` Linus Torvalds
2005-11-24 8:46 ` Nico -telmich- Schottelius
2005-11-24 9:15 ` Junio C Hamano
2005-11-24 10:38 ` Nico -telmich- Schottelius
2005-11-25 1:54 ` Ryan Anderson
2005-11-25 10:30 ` Nico -telmich- Schottelius
2005-11-25 19:12 ` Linus Torvalds
2005-11-25 19:39 ` Petr Baudis
2005-11-25 19:51 ` Ryan Anderson
2005-11-25 21:28 ` Junio C Hamano
2005-11-25 22:11 ` Linus Torvalds
2005-11-25 22:48 ` Petr Baudis [this message]
2005-11-25 21:28 ` Nico -telmich- Schottelius
2005-11-25 22:57 ` Petr Baudis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051125224857.GA10680@pasky.or.cz \
--to=pasky@suse.cz \
--cc=git@vger.kernel.org \
--cc=nico-linux-git@schottelius.org \
--cc=ryan@michonline.com \
--cc=torvalds@osdl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).