Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: ulm@g.o
Subject: Re: [gentoo-dev] [PATCH git-2.eclass 1/2] Clean up non-bare checkout before updating.
Date: Fri, 23 Dec 2011 21:49:53
Message-Id: 20111223224946.14ac4443@pomiocik.lan
In Reply to: Re: [gentoo-dev] [PATCH git-2.eclass 1/2] Clean up non-bare checkout before updating. by Ulrich Mueller
1 On Fri, 23 Dec 2011 22:09:26 +0100
2 Ulrich Mueller <ulm@g.o> wrote:
3
4 > >>>>> On Fri, 23 Dec 2011, Michał Górny wrote:
5 >
6 > > Fixes: https://bugs.gentoo.org/show_bug.cgi?id=395247
7 >
8 > > + git clean -d -f -x || die "${FUNCNAME}: failed to
9 > > clean checkout dir" +
10 >
11 > Why should there be untracked files, in the first place? (In the
12 > "steps to reproduce" of bug 395247 such files are explicitly generated
13 > by the user, which doesn't look like a valid usage case to me.)
14
15 Yes, it is invalid. Yet I think it's better to clean up just in case
16 upstream pulling gone wrong (e.g. when upstream does rebase).
17
18 --
19 Best regards,
20 Michał Górny

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies