Closed sulybot closed 1 month ago
Ohh, that's strange. Can you provide a pic of It (with -l flag) thanks
Hi, here is my situation.
In my git repo root dir, there is a .gitignore
file.
the last line, ignored the local config file, named local.properties
.
git status
is clean, which you can see the oh-my-zsh shows, the branch is develop
and the working copy is clean.
but logo-ls mark the dir and the local.properties file as U
, untracked.
I have done some debug, I find out that the -D
option implements by go-git library.
I'm not sure if there are some mistakes in my .gitignore file format, and git has ignored the mistake when I run git status,
or if go-git has the different behavior with my git cli, version 2.25.1.
My OS is ubuntu 20.04. logo-ls installed via the .deb package file.
I also created a new repo, and write a simple .gitignore, this time logo-ls -D
work correctly.
It's hard to say where the problem is, I'll try to figure out and do more debug.
hi, when i use
logo-ls -D
in git repo dir, logo-ls marked all of the ignored files as untracked, butgit status
reports working tree clean.