Class: Git
- Inherits:
-
Object
- Object
- Git
- Defined in:
- lib/gil.rb
Class Method Summary collapse
Class Method Details
.get_config_value(value_name) ⇒ Object
5 6 7 |
# File 'lib/gil.rb', line 5 def get_config_value(value_name) `git config #{value_name}`.chomp end |
.get_log_entries(rev) ⇒ Object
9 10 11 |
# File 'lib/gil.rb', line 9 def get_log_entries(rev) `git log #{rev} --pretty=oneline --no-color`.split("\n") end |