pronto 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/pronto/git/repository.rb +2 -2
- data/lib/pronto/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: 9d790438c36a0945548e93b684a0225d4f65b639
|
4
|
+
data.tar.gz: ca04d65732a2caf6a2fef29ad051dfca62435e73
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db97dd116571fd0e2e43060e2356805f5a2e1e06b058d23fae943d086b9aae01ff3d57cf3624134100ae55a5fb54ba2cd9159f5d40fa50b0377c8763a6b5dc31
|
7
|
+
data.tar.gz: 510838cc30c3d6a97340a9940d86876bdc303c391f7f784b75783a16bb410397eaa7911563be9fcbe3d79f251ab26c192379b36a98f01f39c852a46b21264a5d
|
data/CHANGELOG.md
CHANGED
@@ -10,9 +10,9 @@ module Pronto
|
|
10
10
|
def diff(commit, options = nil)
|
11
11
|
target, patches = case commit
|
12
12
|
when :unstaged, :index
|
13
|
-
[
|
13
|
+
[head_commit_sha, @repo.index.diff(options)]
|
14
14
|
when :staged
|
15
|
-
[
|
15
|
+
[head_commit_sha, head.diff(@repo.index, options)]
|
16
16
|
else
|
17
17
|
merge_base = merge_base(commit)
|
18
18
|
patches = @repo.diff(merge_base, head, options)
|
data/lib/pronto/version.rb
CHANGED