threads / bug / 49673

Bug: git log changes output depending on how the output is used

Subject: Bug: git log changes output depending on how the output is used

## tl;dr

One message between Oct 25, 2018 and Oct 25, 2018.

replies: 0people: 1as markdown or json

buckmartin· Oct 25, 2018, 15:26 UTC · lore
I noticed that the piped output still prints the (HEAD -> ) :
git log --pretty=format:"%d*%B" --decorate-refs='refs/tags/*'

*bar (tag: "123")*foo

git log --pretty=format:"%d*%B" --decorate-refs='refs/tags/*' > tmp.tmp

(HEAD -> branch)*bar (tag: "123")*foo

I would expect the output that is printed to console, not what's present in tmp.tmp

← back to recent threads