ruby-git-fw 1.3.0 → 1.3.1
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.
- checksums.yaml +4 -4
- data/lib/git/lib.rb +3 -2
- 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: 885691d922e91d8f6fff84ffdb950849ff29983a
|
4
|
+
data.tar.gz: 84f03afc63427186cb70fe6a68f0fbe0ffdcb95b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7c4818a5f104dcfc7aa7d0936065c5589c9229bfa5062670b1d98bc38dac439fd867370a0f928f71070caafcec9b8a52d325fd88463e8dd1377c4422be4ccc2a
|
7
|
+
data.tar.gz: 6ebf5737d37b1eeafe1173041d44755bbb13548f048cb2abbd8a984359944ee9fbaf5eabb08876814814a324606f3366a403d113e8ea0a1a3bf4ec5116820224
|
data/lib/git/lib.rb
CHANGED
@@ -972,9 +972,10 @@ module Git
|
|
972
972
|
def log_common_options(opts)
|
973
973
|
arr_opts = []
|
974
974
|
|
975
|
-
|
975
|
+
fw_count = opts[:count]
|
976
|
+
arr_opts << "-#{fw_count}" if fw_count
|
976
977
|
arr_opts << "--no-color"
|
977
|
-
arr_opts << "--diff-filter=ADM"
|
978
|
+
arr_opts << "--diff-filter=ADM" if fw_count && fw_count != "-merges"
|
978
979
|
arr_opts << "--since=#{opts[:since]}" if opts[:since].is_a? String
|
979
980
|
arr_opts << "--until=#{opts[:until]}" if opts[:until].is_a? String
|
980
981
|
arr_opts << "--grep=#{opts[:grep]}" if opts[:grep].is_a? String
|