git-smart
git-smart copied to clipboard
Ability to run smart-log in silent mode
I run gl pretty often and I set LESS to clear terminal after quitting, so I see a lot of:
$ gl
Executing: git log --pretty=format:%C(yellow)%h%Cblue%d%Creset %s %C(white) %an, %ar%Creset --graph
$ gl
Executing: git log --pretty=format:%C(yellow)%h%Cblue%d%Creset %s %C(white) %an, %ar%Creset --graph
$ gl
Executing: git log --pretty=format:%C(yellow)%h%Cblue%d%Creset %s %C(white) %an, %ar%Creset --graph
Therefore I would like ability to prevent output of obvious Executing: ...
line, I did it in this pull-request by redirecting it to STDERR, so I can silence it with alias gl='git smart-log 2>/dev/null
without affecting functionality of this command.
+1