rebase-interactive: suppress whitespace preceding item count
authorEric Sunshine <sunshine@sunshineco.com>
Wed, 4 Mar 2015 07:53:04 +0000 (02:53 -0500)
committerJunio C Hamano <gitster@pobox.com>
Fri, 6 Mar 2015 20:11:27 +0000 (12:11 -0800)
commit28c8cfc3635368f06f6deaedb5e90da328df27d2
tree60e882a9e813065bec2c2fe7ecb50367cb2f0a35
parent97f05f43dc73f2855eb4c6acd1ea49d6d6bc4bce
rebase-interactive: suppress whitespace preceding item count

97f05f43 (Show number of TODO items for interactive rebase, 2014-12-10)
taught rebase-interactive to compute an item count with 'wc -l' and
display it in the instruction list comments:

    # Rebase 46640c6..5568fd5 onto 46640c6 (4 TODO item(s))

On Mac OS X, however, it renders as:

    # Rebase 46640c6..5568fd5 onto 46640c6 (       4 TODO item(s))

since 'wc -l' indents its output with leading spaces. Fix this.

Signed-off-by: Eric Sunshine <sunshine@sunshineco.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-rebase--interactive.sh
t/t3404-rebase-interactive.sh