Skip to content

Conversation

@spacewander
Copy link
Collaborator

  1. use tput instead of ansi code sequences.
  2. disable color if the output is not printed to tty.

Previously the `?` in the case statement will match any single letter.
As a result, `git scp a` will act as the same as `git scp -h`.
What we actually need is a literal '?'.
@hemanth
Copy link
Collaborator

hemanth commented Oct 10, 2015

👍

hemanth added a commit that referenced this pull request Oct 10, 2015
@hemanth hemanth merged commit dfe0c79 into tj:master Oct 10, 2015
@qw3rtman qw3rtman mentioned this pull request Dec 27, 2015
tardypad pushed a commit to tardypad/git-extras that referenced this pull request Jul 13, 2016
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.

3 participants