Gentoo Archives: gentoo-portage-dev

From: "Michał Górny" <mgorny@g.o>
To: Zac Medico <zmedico@g.o>
Cc: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] [PATCH] [sync] Run `git update-index --refresh` when doing shallow pulls
Date: Sun, 30 Oct 2016 21:37:07
Message-Id: 20161030223650.78badab7.mgorny@gentoo.org
In Reply to: Re: [gentoo-portage-dev] [PATCH] [sync] Run `git update-index --refresh` when doing shallow pulls by Zac Medico
1 On Sun, 30 Oct 2016 13:53:05 -0700
2 Zac Medico <zmedico@g.o> wrote:
3
4 > On 10/30/2016 01:44 PM, Michał Górny wrote:
5 > > On Sun, 30 Oct 2016 13:39:53 -0700
6 > > Zac Medico <zmedico@g.o> wrote:
7 > >
8 > >> On 10/30/2016 12:23 PM, Michał Górny wrote:
9 > >>> Run `git update-index --refresh` to force proper index recheck before
10 > >>> running `git reset --merge` on a shallow pull. This fixes syncing on
11 > >>> some filesystem configurations including overlayfs on squashfs.
12 > >>
13 > >> Maybe we should use --really-refresh in case the --assume-unchanged flag
14 > >> gets toggled on somehow (maybe via .git/config)?
15 > >
16 > > I don't know. I think we can revisit it if it really becomes a problem
17 > > for anyone.
18 >
19 > OK, sounds good. The patch LGTM.
20
21 Pushed.
22
23 --
24 Best regards,
25 Michał Górny
26 <http://dev.gentoo.org/~mgorny/>