Jeff King:
git log --pretty=format: --name-only |
grep . |
perl -ne 'print unless $seen{$_}++'
Nice one!
That made me come up with this, which shows a timestamp next to each file:
git log --pretty=format:/%ai --name-only |
grep . |
perl -ne 'if (m(^/(.*))) { $date = $1; } else { print "$date $_" unless $seen{$_}++; }'
(change %ai into whatever timestamp you want to show)
Mutating that into something that calls "touch" might be useful for those of
us who would like an initial check-out to have last-modified times like the
ones CVS would give you.
--
\\// Peter - http://www.softwolves.pp.se/
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html