gitrb 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/gitrb.gemspec +1 -1
- data/lib/gitrb/repository.rb +2 -1
- metadata +2 -2
data/gitrb.gemspec
CHANGED
data/lib/gitrb/repository.rb
CHANGED
|
@@ -145,7 +145,8 @@ module Gitrb
|
|
|
145
145
|
|
|
146
146
|
# Returns a list of commits starting from head commit.
|
|
147
147
|
def log(limit = 10, start = nil, path = nil)
|
|
148
|
-
|
|
148
|
+
### FIX: tformat need --pretty option
|
|
149
|
+
args = ['--pretty=tformat:%H%n%P%n%T%n%an%n%ae%n%at%n%cn%n%ce%n%ct%n%x00%s%n%b%x00', "-#{limit}", ]
|
|
149
150
|
args << start if start
|
|
150
151
|
args << "--" << path if path && !path.empty?
|
|
151
152
|
log = git_log(*args).split(/\n*\x00\n*/)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gitrb
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Daniel Mendler
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2010-
|
|
12
|
+
date: 2010-03-09 00:00:00 +01:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies: []
|
|
15
15
|
|