chiark / gitweb /
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)
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>

No differences found