scvcs 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/commands/commit.rb +1 -1
- data/lib/scv/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8dccda4f03f1c058595f1fb0a3df85c0141a6d87
|
4
|
+
data.tar.gz: cc5fa810378a158c90b5d381344e995487e9a4a4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db603ea442a5a4363c94f5a0283164cb246d4b42867e8a87da8084c0b777dd23fee507abf2a75b6c02cf85a7d3afb3c98e658568a4832eadedcb961ca06d7cb3
|
7
|
+
data.tar.gz: 7687b42d978df6d7fde6db7f8d88a8a6b4371135036587a1f08bf72d31372194a18cac27745a4fffa66a0bf68aafa78a6fb1e425c95b42dddbb1cf26efcf7457
|
data/bin/commands/commit.rb
CHANGED
@@ -23,7 +23,7 @@ command :commit do |c|
|
|
23
23
|
repository_path = "#{global_options[:dir]}/.scv"
|
24
24
|
|
25
25
|
unless options[:amend]
|
26
|
-
status = repository.status repository
|
26
|
+
status = repository.status repository.branch_head, ignore: [/^\.|\/\./]
|
27
27
|
|
28
28
|
if status.none? { |_, files| files.any? }
|
29
29
|
raise 'No changes since last commit'
|
data/lib/scv/version.rb
CHANGED