Skip to content

Commit b814c99

Browse files
committed
Merge pull request #6 from nnsathish/master
OTWO-2738 Bump up git version to 1.8.2 and fix nothing_to_commit check
2 parents 8dde2ec + 7d1159b commit b814c99

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ shell. In order to pass the unit tests, all three systems must be installed
3939
and on your path. Ohloh uses the following versions, and other versions are
4040
totally unsupported at this time:
4141

42-
cvsnt 2.5.03
43-
svn 1.4.2
44-
git 1.6.0.4
45-
hg 1.1.2
42+
cvsnt 2.5.03
43+
svn 1.4.2
44+
git 1.8.2.1
45+
hg 1.1.2
4646

4747
If you are using CVS instead of CVSNT, you can potentially try creating
4848
a shell alias or symlink mapping 'cvsnt' to 'cvs'.

lib/scm/adapters/git/commit_all.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def message_filename
6464

6565
# True if there are pending changes to commit.
6666
def anything_to_commit?
67-
run("cd '#{self.url}' && git status | tail -1") =~ /nothing to commit / ? false : true
67+
run("cd '#{self.url}' && git status | tail -1") =~ /nothing to commit/ ? false : true
6868
end
6969

7070
# Ensures that the repository directory exists, and that the git database has been initialized.

0 commit comments

Comments
 (0)