Add tag names to git prompt #1599

Closed
wants to merge 2 commits into
from

Projects

None yet

4 participants

@dstokes
dstokes commented Feb 12, 2013

Adds tag names to possible "treeishes" in the git prompt when not at the head of a branch and on a commit that a tag points to.

@dstokes
dstokes commented Feb 14, 2013

Example:
Screen Shot 2013-02-14 at 2 12 08 PM

@ncanceill ncanceill referenced this pull request Mar 7, 2014
Closed

Closable issues hunting #2568

@robbyrussell
Owner

Closing this per #2568.

@mcornella
Collaborator

cc @robbyrussell: to be merged (per #2568 (comment))

@apbarrero

👍

@aleksandrs-ledovskis aleksandrs-ledovskis added a commit to aleksandrs-ledovskis/oh-my-zsh that referenced this pull request Jun 20, 2014
@aleksandrs-ledovskis aleksandrs-ledovskis Add Git tags to prompt
Example:
  ➜  abc git:(v1.0 @ f00baa)
  ➜  buz git:(v0_5-rc1 some-tag @ a1b2c3)

If using git >= 1.7.10, will show up to 10 tags separated by spaces
For earlier versions, only single (last) tag will be shown.

Minimum supported Git version: v1.0.5

External tool dependencies - head(1), paste(1)

Closes robbyrussell/oh-my-zsh#1599

Signed-off-by: Aleksandrs Ļedovskis <aleksandrs@ledovskis.lv>
b11c817
@aleksandrs-ledovskis aleksandrs-ledovskis added a commit to aleksandrs-ledovskis/oh-my-zsh that referenced this pull request Jun 20, 2014
@aleksandrs-ledovskis aleksandrs-ledovskis Add Git tags to prompt
Example:
  ➜  abc git:(v1.0 @ f00baa)
  ➜  buz git:(v0_5-rc1 some-tag @ a1b2c3)

If using git >= 1.7.10, will show up to 10 tags separated by spaces
For earlier versions, only single (last) tag will be shown.

Minimum supported Git version: v1.0.5

External tool dependencies - head(1), paste(1)

Closes robbyrussell/oh-my-zsh#1599

Signed-off-by: Aleksandrs Ļedovskis <aleksandrs@ledovskis.lv>
95df041
@aleksandrs-ledovskis aleksandrs-ledovskis added a commit to aleksandrs-ledovskis/oh-my-zsh that referenced this pull request Jun 20, 2014
@aleksandrs-ledovskis aleksandrs-ledovskis Add Git tags to prompt
Example:
  ➜  abc git:(v1.0 @ f00baa)
  ➜  buz git:(v0_5-rc1 some-tag @ a1b2c3)

If using git >= 1.7.10, will show up to 10 tags separated by spaces
For earlier versions, only single (last) tag will be shown.

Minimum supported Git version: v1.0.5

External tool dependencies - head(1), paste(1)

Closes robbyrussell/oh-my-zsh#1599

Signed-off-by: Aleksandrs Ļedovskis <aleksandrs@ledovskis.lv>
126cc5a
@aleksandrs-ledovskis aleksandrs-ledovskis added a commit to aleksandrs-ledovskis/oh-my-zsh that referenced this pull request Jul 7, 2014
@aleksandrs-ledovskis aleksandrs-ledovskis Add Git tags to prompt
Example:
  ➜  abc git:(v1.0 @ f00baa)
  ➜  buz git:(v0_5-rc1 some-tag @ a1b2c3)

If using git >= 1.7.10, will show up to 10 tags separated by spaces
For earlier versions, only single (last) tag will be shown.

Minimum supported Git version: v1.0.5

External tool dependencies - head(1), paste(1)

Closes robbyrussell/oh-my-zsh#1599

Signed-off-by: Aleksandrs Ļedovskis <aleksandrs@ledovskis.lv>
5beab32
@aleksandrs-ledovskis aleksandrs-ledovskis added a commit to aleksandrs-ledovskis/oh-my-zsh that referenced this pull request Jul 8, 2014
@aleksandrs-ledovskis aleksandrs-ledovskis Add Git tags to prompt
Example:
  ➜  abc git:(v1.0 @ f00baa)
  ➜  buz git:(v0_5-rc1 some-tag @ a1b2c3)

If using git >= 1.7.10, will show up to 10 tags separated by spaces
For earlier versions, only single (last) tag will be shown.

Minimum supported Git version: v1.0.5

External tool dependencies - head(1), paste(1)

Closes robbyrussell/oh-my-zsh#1599

Signed-off-by: Aleksandrs Ļedovskis <aleksandrs@ledovskis.lv>
13edea0
@aleksandrs-ledovskis aleksandrs-ledovskis added a commit to aleksandrs-ledovskis/oh-my-zsh that referenced this pull request Jul 8, 2014
@aleksandrs-ledovskis aleksandrs-ledovskis Add Git tags to prompt
Example:
  ➜  abc git:(v1.0 @ f00baa)
  ➜  buz git:(v0_5-rc1 some-tag @ a1b2c3)

If using git >= 1.7.10, will show up to 10 tags separated by spaces
For earlier versions, only single (last) tag will be shown.

Minimum supported Git version: v1.0.5

External tool dependencies - head(1), paste(1)

Closes robbyrussell/oh-my-zsh#1599

Signed-off-by: Aleksandrs Ļedovskis <aleksandrs@ledovskis.lv>
02b8fde
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment