Use null delimiters in xargs to support space in file names #95
Use null delimiters in xargs to support space in file names #95phaer merged 1 commit intonumtide:mainfrom
Conversation
|
It seems |
what do you mean? if you want to use fd to format, you should do |
|
These are the failing tests where I used It doesn't like files in |
|
Could you add a rationale for this change to the description, or ideally, the commit? Is it to support file names with spaces? If so git ls-files -z for \0-terminated file names might be an even more robust alternative (see e.g. man page) |
use |
That would run nixfmt on the files mentioned in |
Alternatively we could have xargs use newline instead of space as the delimiter, but fd will also ignore hidden files and respect
.gitignoreif it finds such further down.