Thread (2 messages) 2 messages, 2 authors, 2022-06-30

Re: let git-ls-files suppress the expanding of all files in sub directory

From: Erik Cervin Edin <hidden>
Date: 2022-06-30 23:05:05

On Thu, Jun 30, 2022, 8:26 AM lilinchao@oschina.cn [off-list ref] wrote:
As subject said, is this possible for git-ls-files to work like this?:
" $ git ls-files --no-recursion
    a.txt
    b.txt
    dir/
"
An alternative
  git ls-tree --name-only HEAD
is suggested here
https://stackoverflow.com/a/10453994

Maybe that works?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help