Permalink
Browse files

Change regex to match current and older versions of Git

  • Loading branch information...
kaiwood committed Jan 11, 2014
1 parent 3808281 commit 9ccccb9bfa41bf8c6ce43714384d3ece055df2ee
Showing with 1 addition and 1 deletion.
  1. +1 −1 Support/lib/git.rb
View
@@ -201,7 +201,7 @@ def merge_message
end
def initial_commit_pending?
- /^# Initial commit$/.match(command("status")) ? true : false
+ /^(# )?Initial commit$/.match(command("status")) ? true : false
end
def status(file_or_dir = nil, options = {})

0 comments on commit 9ccccb9

Please sign in to comment.