Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Change regex to match current and older versions of Git

  • Loading branch information...
commit 9ccccb9bfa41bf8c6ce43714384d3ece055df2ee 1 parent 3808281
@kaiwood kaiwood authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Support/lib/git.rb
View
2  Support/lib/git.rb
@@ -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 = {})
Please sign in to comment.
Something went wrong with that request. Please try again.