Re: [ANNOUNCE] Git v2.29.0-rc1
- From
René Scharfe <l.s.r@web.de>
- Date
- Oct 12, 2020, 19:19 UTC
- Message-ID
- <61bafa3b-bd23-f01f-9a4a-c348b7588f37@web.de>
- In-Reply-To
- <xmqqmu0rqu8h.fsf@gitster.c.googlers.com>
Am 12.10.20 um 18:33 schrieb Junio C Hamano:
Show 7 quoted lines
> If this "feature" were experimental and if the experiment turns out > to be a failure, would we have a viable alternative definition? > > Perhaps "--add-file names an untracked file in the working tree and > the single '--prefix' that is used for entries that come from the > tree object is applied"? Or perhaps remove --add-file entirely as a > failed experiment?
Removing --add-file entirely is certainly possible, but it's used in the Makefile now and I can't imagine what would make its disposal necessary.
Turning it into a standard OPT_STRING_LIST option for full untracked paths and using the last --prefix value for all archive entries would be a more straightforward UI and might be versatile enough.
René