git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v3 10/11] config: add core.untrackedCache

From
Christian Couder <christian.couder@gmail.com>
Date
Dec 24, 2015, 21:10 UTC
Message-ID
<CAP8UFD0penKjBBUW-9aPJ=T8x7WfhZGDtH1-jBsuJ4CTb2mrXw@mail.gmail.com>
In-Reply-To
<CACsJy8C0CwbFy+Ghk3EWTyhqPYcr6xE5jczumWW98cAAHdfmPg@mail.gmail.com>
On Thu, Dec 24, 2015 at 11:13 AM, Duy Nguyen <pclouds@gmail.com> wrote:
Show 16 quoted lines
> On Thu, Dec 24, 2015 at 4:03 AM, Christian Couder
> <christian.couder@gmail.com> wrote:
>>  --force-untracked-cache::
>> -       For safety, `--untracked-cache` performs tests on the working
>> -       directory to make sure untracked cache can be used. These
>> -       tests can take a few seconds. `--force-untracked-cache` can be
>> -       used to skip the tests.
>> +       Same as `--untracked-cache`. Provided for backwards
>> +       compatibility with older versions of Git where
>> +       `--untracked-cache` used to imply `--test-untracked-cache` but
>> +       this option would enable the extension unconditionally.
>
> Nit. The reason --force-untracked-cache remains can probably stay in
> the commit message. Here we can simply say "synonym of
> --untracked-cache, deprecated" or something like that (or even ".. to
> be deleted in version N.M").

Yeah, I think "deprecated" should be enough and clearer, but I will see with AEvar who helped me on this.

Thanks, Christian.

Previous: Duy NguyenNext: Christian Couder
Message 17 of 18 in “Untracked cache improvements”
  1. 00/11 Untracked cache improvementsChristian Couder, Dec 23, 2015
  2. 01/11 dir: free untracked cache when removing itChristian Couder, Dec 23, 2015
  3. 02/11 update-index: use enum for untracked cache optionsChristian Couder, Dec 23, 2015
  4. 03/11 update-index: add --test-untracked-cacheChristian Couder, Dec 23, 2015
  5. 04/11 update-index: add untracked cache notificationsChristian Couder, Dec 23, 2015
  6. Duy NguyenDec 24, 2015
  7. Christian CouderDec 24, 2015
  8. 05/11 update-index: move 'uc' var declarationChristian Couder, Dec 23, 2015
  9. 06/11 dir: add add_untracked_cache()Christian Couder, Dec 23, 2015
  10. 07/11 dir: add new_untracked_cache()Christian Couder, Dec 23, 2015
  11. Eric SunshineDec 23, 2015
  12. Christian CouderDec 24, 2015
  13. 08/11 dir: add remove_untracked_cache()Christian Couder, Dec 23, 2015
  14. 09/11 dir: simplify untracked cache "ident" fieldChristian Couder, Dec 23, 2015
  15. 10/11 config: add core.untrackedCacheChristian Couder, Dec 23, 2015
  16. Duy NguyenDec 24, 2015
  17. Christian CouderDec 24, 2015
  18. 11/11 t7063: add tests for core.untrackedCacheChristian Couder, Dec 23, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.