git-project icon indicating copy to clipboard operation
git-project copied to clipboard

Software acts as though `--deep-recurse` is specified, even when it's not

Open johngavingraham opened this issue 1 year ago • 1 comments

When running organize, sub-projects on my system are listed even though I don't specify --deep-recurse:

# Expected just cpprito/ (a git repo in itself) to be organized, but it starts off trying to organize the git repo in a subdirectory that it found.
$ git-project organize cpprito/ ../organized
/home/john/src/cpprito/.build/ircclient-prefix/src/ircclient -> github.com/shaoner/libircclient
I/O Error: Directory not empty (os error 39)

Similarly with check:

$ git project check
gitlab.com/johngavingraham/cpprito/.build/_deps/magic_enum-src
  - should be at path github.com/Neargye/magic_enum based on origin url https://github.com/Neargye/magic_enum.git, but is at path gitlab.com/johngavingraham/cpprito/.build/_deps/magic_enum-src

I'd be will to make this fix at some point in the near future as I do really like this crate, I'd like to coordinate if at all possible though.

johngavingraham avatar Sep 18 '24 08:09 johngavingraham

I'm on 0.2.0:

$ git project --version
git-project 0.2.0

johngavingraham avatar Sep 23 '24 07:09 johngavingraham