summaryrefslogtreecommitdiff
path: root/branch.c
diff options
context:
space:
mode:
authorLibravatar Paul-Sebastian Ungureanu <ungureanupaulsebastian@gmail.com>2018-04-07 01:19:47 +0300
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-04-09 11:33:19 +0900
commitdecf711fc13858087c87808e539d75f06bd9f7b7 (patch)
tree31263ba8cb7a473cc660e084260ee504cccd92a8 /branch.c
parentGit 2.16.3 (diff)
downloadtgif-decf711fc13858087c87808e539d75f06bd9f7b7.tar.xz
t/helper: 'test-chmtime (--get|-g)' to print only the mtime
Compared to 'test-chmtime -v +0 file' which prints the mtime and and the file name, 'test-chmtime --get file' displays only the mtime. If it is used in combination with (+|=|=+|=-|-)seconds, it changes and prints the new value. test-chmtime -v +0 file | sed 's/[^0-9].*$//' is now equivalent to: test-chmtime --get file Signed-off-by: Paul-Sebastian Ungureanu <ungureanupaulsebastian@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'branch.c')
0 files changed, 0 insertions, 0 deletions