summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2007-02-25 02:18:22 (GMT)
committerJunio C Hamano <junkio@cox.net>2007-02-25 19:09:56 (GMT)
commit17e48368751ae8df7ed0332ae8ef900ce983fce6 (patch)
tree8368f48d5f5b8e70b8beab8e72330a73a33cec9e /.gitignore
parent2c7ca1fcf19d3803a225130491e26dca86d1781d (diff)
downloadgit-17e48368751ae8df7ed0332ae8ef900ce983fce6.zip
git-17e48368751ae8df7ed0332ae8ef900ce983fce6.tar.gz
git-17e48368751ae8df7ed0332ae8ef900ce983fce6.tar.bz2
Add test-chmtime: a utility to change mtime on files
This is intended to be a portable replacement for our usage of date(1), touch(1), and Perl one-liners in tests. Usage: test-chtime (+|=|-|=+|=-)<seconds> <file>..." '+' increments the mtime on the files by <seconds> '-' decrements the mtime on the files by <seconds> '=' sets the mtime on the file to exactly <seconds> '=+' and '=-' sets the mtime on the file to <seconds> after or before the current time. Signed-off-by: Eric Wong <normalperson@yhbt.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index f15155d..eb8a1f8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -139,6 +139,7 @@ git-whatchanged
git-write-tree
git-core-*/?*
gitweb/gitweb.cgi
+test-chmtime
test-date
test-delta
test-dump-cache-tree