kamranahmedse / git-standup

Recall what you did on the last working day. Psst! or be nosy and find what someone else in your team did ;-)
MIT License
7.62k stars 304 forks source link

Problems when piping output #44

Closed goerge closed 8 years ago

goerge commented 8 years ago

When piping git standups output to less or a file it always says Seems like ... did nothing!

git-standup-does-not-work-with-less

md5 commented 8 years ago

The conditional here is wrong: https://github.com/kamranahmedse/git-standup/blob/master/git-standup#L48

It looks like the intent was to provide an uncolored output format if there is no terminal, but the whole thing is wrapped in the if block, which results in an empty format string.

kamranahmedse commented 8 years ago

@goerge it should be fixed now. Try after updating to 2.1.8.

goerge commented 8 years ago

Cool. Works like a charm. Thanks!