mirror of
https://github.com/athityakumar/colorls.git
synced 2024-09-12 05:31:14 +02:00
Use git commit date of man page when generating
The last change to a file is not necessarily the one with the latest author date, but we want to get the last time the man page was changed (on some branch) and thus it makes more sense to use the commit date rather than the author date.
This commit is contained in:
parent
d4aa862f79
commit
524a9b6ed2
1 changed files with 1 additions and 1 deletions
2
Rakefile
2
Rakefile
|
@ -20,7 +20,7 @@ file 'man/colorls.1' => ['man/colorls.1.ronn', 'lib/colorls/flags.rb'] do
|
|||
|
||||
flags = ColorLS::Flags.new
|
||||
attributes = {
|
||||
date: Date.iso8601(`git log -1 --pretty=format:%aI -- man/colorls.1`),
|
||||
date: Date.iso8601(`git log -1 --pretty=format:%cI -- man/colorls.1`),
|
||||
manual: 'colorls Manual',
|
||||
organization: "colorls #{ColorLS::VERSION}"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue