Let "stg status" ignore empty directories
authorKarl Hasselström <kha@treskal.com>
Fri, 31 Aug 2007 19:41:54 +0000 (21:41 +0200)
committerKarl Hasselström <kha@treskal.com>
Fri, 31 Aug 2007 19:41:54 +0000 (21:41 +0200)
commit6d0d7ee68bda85bd5b943d6836a5001cd887c939
tree6f7a2c0be5832c6b61c36a1909b1179c6ef46a5f
parentf1c5519a186e6ed20a4206be093cc1b14e755984
Let "stg status" ignore empty directories

This was a really simple fix: just pass the right flag to
git-ls-files. Since the output has a trailing \0, split() gives us an
empty string at the end of the list that we have to throw away.
(Curiously, there was an empty string at the end before this change
too, but it disappeared somehow.)

This fixes bug 9891.

Signed-off-by: Karl Hasselström <kha@treskal.com>
stgit/git.py