Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: Re: [gentoo-portage-dev] [PATCH] [sync] Run `git update-index --refresh` when doing shallow pulls
Date: Sun, 30 Oct 2016 20:39:56
Message-Id: c6e65d17-53b8-713f-99de-c433b9461ca1@gentoo.org
In Reply to: [gentoo-portage-dev] [PATCH] [sync] Run `git update-index --refresh` when doing shallow pulls by "Michał Górny"
1 On 10/30/2016 12:23 PM, Michał Górny wrote:
2 > Run `git update-index --refresh` to force proper index recheck before
3 > running `git reset --merge` on a shallow pull. This fixes syncing on
4 > some filesystem configurations including overlayfs on squashfs.
5
6 Maybe we should use --really-refresh in case the --assume-unchanged flag
7 gets toggled on somehow (maybe via .git/config)?
8 --
9 Thanks,
10 Zac

Replies