diff options
author | Alex Riesen <raa.lkml@gmail.com> | 2008-10-30 10:00:29 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-10-31 00:19:52 -0700 |
commit | 0ea9ca07aa76bef80c066b1a70366cf90caa703d (patch) | |
tree | 2a86683c78ce2040b0584cc559c3dc5d1d860c67 /diffcore.h | |
parent | 9b6f84d2c2ff84ac3ef2215b6ea8ee45b6d943cd (diff) | |
download | git-0ea9ca07aa76bef80c066b1a70366cf90caa703d.tar.gz git-0ea9ca07aa76bef80c066b1a70366cf90caa703d.tar.xz |
Add --verbose|-v to test-chmtime
This allows us replace perl when getting the mtime of a file because
of time zone conversions, though at the moment only one platform which
does this has been identified: Cygwin when used with ActiveState Perl
(as usual).
The output format is:
<mtime1> TAB <filename1> <LF>
<mtime2> TAB <filename2> <LF>
...
which, if only mtime is needed can be parsed with cut(1):
test-chmtime -v +0 filename1 | cut -f 1
Also, the change adds a description of programs features, with examples.
Signed-off-by: Alex Riesen <ariesen@harmanbecker.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'diffcore.h')
0 files changed, 0 insertions, 0 deletions