git 1.2.4 → 1.2.5
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.
Potentially problematic release.
This version of git might be problematic. Click here for more details.
- data/lib/git/base.rb +2 -2
- data/lib/git/lib.rb +2 -2
- metadata +2 -2
data/lib/git/base.rb
CHANGED
data/lib/git/lib.rb
CHANGED
@@ -293,9 +293,9 @@ module Git
|
|
293
293
|
hsh
|
294
294
|
end
|
295
295
|
|
296
|
-
def ls_files
|
296
|
+
def ls_files(location=nil)
|
297
297
|
hsh = {}
|
298
|
-
command_lines('ls-files', '--stage').each do |line|
|
298
|
+
command_lines('ls-files', ['--stage', location]).each do |line|
|
299
299
|
(info, file) = line.split("\t")
|
300
300
|
(mode, sha, stage) = info.split
|
301
301
|
file = eval(file) if file =~ /^\".*\"$/ # This takes care of quoted strings returned from git
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Scott Chacon
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-10-
|
12
|
+
date: 2009-10-17 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|