Explanation for ahead code
This commit is contained in:
@@ -68,8 +68,7 @@ exit if @changes.size > ENV["gs_max_changes"].to_i
|
|||||||
# Counter for env variables
|
# Counter for env variables
|
||||||
@e = 0
|
@e = 0
|
||||||
|
|
||||||
|
# Show how many commits ahead we are from origin
|
||||||
# Heading
|
|
||||||
ahead = @ahead ? " #{@c[:dark]}| #{@c[:new]}+#{@ahead}#{@c[:rst]}" : ""
|
ahead = @ahead ? " #{@c[:dark]}| #{@c[:new]}+#{@ahead}#{@c[:rst]}" : ""
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user