I want to get a list, relative to my current working directory (which
may be below the project root) of all files, including ones added with
`git add -N`, but not including any files not under version control...

git ls-files almost works... but only lists files from . down. Is
there a simple command I can use?

Alternatively, there must be a command that gives the path to the root
of the current .git tree, what is that command? I could use its output
as an argument to git ls-files...

I'm looking to get the list of all files under version control so I
can pipe it to entr, and re-run tests when anything under version
control changes, but to ignore any  changes to files that aren't under
version control. And I want to be able to run it in sub-trees of the


You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to