Skip to content

Conversation

brainopia
Copy link

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.

Review on Reviewable

@nuc
Copy link

nuc commented Feb 16, 2012

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants