Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: [PATCH] git status: ignore empty directories (because they cannot be added)

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:27

Matthias Lederhofer [off-list ref] writes:
and a new option -u / --untracked-files to show files in untracked
directories.

---
A few things I'm not sure about:
- Should there be another option to disable --no-empty-directory?
I am not sure about this.  We used to show everything in a
directory full of untracked directory, which was distracting and
that was the reason we added --directory there.  Maybe it would
be less confusing if we just updated the message

	    print "#\n# Untracked files:\n";
	    print "#   (use \"git add\" to add to commit)\n";
	    print "#\n";

to say "use 'git add' on these files and files in these
directories you wish to add", or something silly like that,
without this patch?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help