Re: [PATCH v2 1/2] .gitinogre: update the command to check tracked files being ignored

From: Miguel Ojeda
Date: Sun Dec 25 2022 - 13:37:38 EST


On Sat, Dec 24, 2022 at 4:51 PM Masahiro Yamada <masahiroy@xxxxxxxxxx> wrote:
>
> The -c was implied for older git versions, but we need to make it
> explicit now.

Perhaps add a `Link:` to Git's commit b338e9f66873 ("ls-files: error
out on -i unless -o or -c are specified")

https://git.kernel.org/pub/scm/git/git.git/commit/?id=b338e9f668737e08201c990450b8c3d744f63162

> We never know what are locally added to $GIT_DIR/info/exclude or
> $XDG_CONFIG_HOME/git/ignore.

Perhaps we could say "global exclusion file" instead (since it could
be the one from `core.excludesFile` too).

> Signed-off-by: Masahiro Yamada <masahiroy@xxxxxxxxxx>

By the way, in the commit title: "gitinogre" -> "gitignore"

Reviewed-by: Miguel Ojeda <ojeda@xxxxxxxxxx>

Cheers,
Miguel