Class: Git::Lib
- Inherits:
-
Object
- Object
- Git::Lib
- Defined in:
- lib/ptlog/change_log.rb
Instance Method Summary collapse
Instance Method Details
#first_commit ⇒ Object
9 10 11 |
# File 'lib/ptlog/change_log.rb', line 9 def first_commit command("rev-list --max-parents=0 HEAD") end |
#ordered_tags ⇒ Object
6 7 8 |
# File 'lib/ptlog/change_log.rb', line 6 def command_lines("for-each-ref --sort='*authordate' --format='%(tag)' refs/tags") end |