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 20:45:15
Message-Id: 20161030214458.7b3c44b1.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:39:53 -0700
2 Zac Medico <zmedico@g.o> wrote:
3
4 > On 10/30/2016 12:23 PM, Michał Górny wrote:
5 > > Run `git update-index --refresh` to force proper index recheck before
6 > > running `git reset --merge` on a shallow pull. This fixes syncing on
7 > > some filesystem configurations including overlayfs on squashfs.
8 >
9 > Maybe we should use --really-refresh in case the --assume-unchanged flag
10 > gets toggled on somehow (maybe via .git/config)?
11
12 I don't know. I think we can revisit it if it really becomes a problem
13 for anyone.
14
15 --
16 Best regards,
17 Michał Górny
18 <http://dev.gentoo.org/~mgorny/>

Replies