git-up 0.5.11 → 0.5.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/lib/git-up.rb +6 -1
  2. data/lib/git-up/version.rb +1 -1
  3. metadata +2 -2
@@ -97,7 +97,12 @@ BANNER
97
97
  branches.each do |branch|
98
98
  remote = remote_map[branch.name]
99
99
 
100
- print branch.name.ljust(col_width)
100
+ curbranch = branch.name.ljust(col_width)
101
+ if branch.name == repo.head.name
102
+ print curbranch.bold
103
+ else
104
+ print curbranch
105
+ end
101
106
 
102
107
  if remote.commit.sha == branch.commit.sha
103
108
  puts "up to date".green
@@ -1,3 +1,3 @@
1
1
  class GitUp
2
- VERSION = "0.5.11"
2
+ VERSION = "0.5.12"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-up
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.11
4
+ version: 0.5.12
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2013-07-21 00:00:00.000000000 Z
15
+ date: 2013-07-23 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: colored