mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-12-08 20:38:47 +00:00
Gem
This commit is contained in:
1
Rakefile
1
Rakefile
@@ -33,6 +33,7 @@ namespace :benchmark do
|
|||||||
puts "Unstaged changes" and return if git.status.changed.any?
|
puts "Unstaged changes" and return if git.status.changed.any?
|
||||||
|
|
||||||
# Get the current branch
|
# Get the current branch
|
||||||
|
# Would like to get this from the Git gem
|
||||||
current_branch = `git rev-parse --abbrev-ref HEAD`.strip
|
current_branch = `git rev-parse --abbrev-ref HEAD`.strip
|
||||||
|
|
||||||
# Create tmp branch for reference commit
|
# Create tmp branch for reference commit
|
||||||
|
|||||||
Reference in New Issue
Block a user