From: Junio C Hamano <junkio@cox.net>
To: Martin Waitz <tali@admingilde.org>
Cc: git@vger.kernel.org
Subject: Re: git reset --hard not removing some files
Date: Sun, 04 Jun 2006 02:31:21 -0700 [thread overview]
Message-ID: <7vfyilclna.fsf@assigned-by-dhcp.cox.net> (raw)
In-Reply-To: <20060604091601.GN14325@admingilde.org> (Martin Waitz's message of "Sun, 4 Jun 2006 11:16:02 +0200")
Martin Waitz <tali@admingilde.org> writes:
> hoi :)
>
> On Fri, Jun 02, 2006 at 07:57:57AM -0700, Junio C Hamano wrote:
>> I would agree in the reproduction recipe Martin gave there is no
>> problem but feature, but at the same time I suspect the recent
>> "reset --hard simplification" has introduced a true regression.
>
> This may have been the bug that bit me.
> Thanks for finding it although I was not able to reproduce it myself!
I found this somewhat the hard way myself. I have:
[pull]
twohead = resolve
in my .git/config -- IOW, I usually do not use recursive
strategy myself. When a merge with resolve strategy fails (and
with recent trend to busyboxify git commands, many merges
between my topics and "next" and/or "master" do), I relied on
"reset --hard" followed by the same merge of the topic using
"pull -s recursive" to recover things, but it didn't. When
pulling a branch with builtin-*.c names into another branch with
older names, regressed "reset --hard" left builtin-*.c files
behind, and then the next merge attempt complained by saying my
untracked working tree files would be overwritten X-<.
prev parent reply other threads:[~2006-06-04 9:31 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-01 16:00 git reset --hard not removing some files Martin Waitz
[not found] ` <20060601121304.9bae1806.seanlkml@sympatico.ca>
2006-06-01 16:13 ` Sean
2006-06-01 17:21 ` Jakub Narebski
[not found] ` <20060601152152.35ce04a5.seanlkml@sympatico.ca>
2006-06-01 19:21 ` Sean
2006-06-02 8:16 ` Jakub Narebski
2006-06-01 16:21 ` Linus Torvalds
2006-06-02 9:37 ` Martin Waitz
[not found] ` <20060602060820.8eebe391.seanlkml@sympatico.ca>
2006-06-02 10:08 ` Sean
2006-06-02 14:17 ` Martin Waitz
2006-06-02 14:57 ` Junio C Hamano
2006-06-03 8:48 ` Junio C Hamano
2006-06-03 15:11 ` Linus Torvalds
2006-06-04 9:16 ` Martin Waitz
2006-06-04 9:31 ` Junio C Hamano [this message]
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=7vfyilclna.fsf@assigned-by-dhcp.cox.net \
--to=junkio@cox.net \
--cc=git@vger.kernel.org \
--cc=tali@admingilde.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).