Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to run smart-log in silent mode #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Ability to run smart-log in silent mode #15

wants to merge 1 commit into from

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