<feed xmlns='http://www.w3.org/2005/Atom'>
<title>git/test-chmtime.c, branch v1.8.2.2</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/git/git.git/
</subtitle>
<id>https://git.shady.money/git/atom?h=v1.8.2.2</id>
<link rel='self' href='https://git.shady.money/git/atom?h=v1.8.2.2'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/'/>
<updated>2013-02-25T05:30:10Z</updated>
<entry>
<title>tests: use a lowercase "usage:" string</title>
<updated>2013-02-25T05:30:10Z</updated>
<author>
<name>David Aguilar</name>
<email>davvid@gmail.com</email>
</author>
<published>2013-02-24T22:48:39Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=b978403aed7f2df46bc4c8a63314959d8982e0ac'/>
<id>urn:sha1:b978403aed7f2df46bc4c8a63314959d8982e0ac</id>
<content type='text'>
Adjust test commands and test suites so that their
usage strings are consistent with Git.

Signed-off-by: David Aguilar &lt;davvid@gmail.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Typofixes outside documentation area</title>
<updated>2010-02-04T05:28:17Z</updated>
<author>
<name>Junio C Hamano</name>
<email>gitster@pobox.com</email>
</author>
<published>2010-02-04T05:23:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=9517e6b84357252e1882091343661c34d978771e'/>
<id>urn:sha1:9517e6b84357252e1882091343661c34d978771e</id>
<content type='text'>
    begining -&gt; beginning
    canonicalizations -&gt; canonicalization
    comand -&gt; command
    dewrapping -&gt; unwrapping
    dirtyness -&gt; dirtiness
    DISCLAMER -&gt; DISCLAIMER
    explicitely -&gt; explicitly
    feeded -&gt; fed
    impiled -&gt; implied
    madatory -&gt; mandatory
    mimick -&gt; mimic
    preceeding -&gt; preceding
    reqeuest -&gt; request
    substition -&gt; substitution

Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>test-chmtime: work around Windows limitation</title>
<updated>2009-06-01T07:10:08Z</updated>
<author>
<name>Johannes Schindelin</name>
<email>johannes.schindelin@gmx.de</email>
</author>
<published>2009-05-31T16:15:18Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=d9b26333854ce72a05cd077638c41a332f79c779'/>
<id>urn:sha1:d9b26333854ce72a05cd077638c41a332f79c779</id>
<content type='text'>
Windows has problems changing the mtime when the file is write protected,
even by the owner of said file.

Add a Windows-only workaround to change the mode if necessary before
trying to change the mtime.

Signed-off-by: Johannes Schindelin &lt;johannes.schindelin@gmx.de&gt;
Signed-off-by: Steffen Prohaska &lt;prohaska@zib.de&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Add --verbose|-v to test-chmtime</title>
<updated>2008-10-31T07:19:52Z</updated>
<author>
<name>Alex Riesen</name>
<email>raa.lkml@gmail.com</email>
</author>
<published>2008-10-30T09:00:29Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=0ea9ca07aa76bef80c066b1a70366cf90caa703d'/>
<id>urn:sha1:0ea9ca07aa76bef80c066b1a70366cf90caa703d</id>
<content type='text'>
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:

    &lt;mtime1&gt; TAB &lt;filename1&gt; &lt;LF&gt;
    &lt;mtime2&gt; TAB &lt;filename2&gt; &lt;LF&gt;
    ...

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 &lt;ariesen@harmanbecker.com&gt;
Signed-off-by: Junio C Hamano &lt;gitster@pobox.com&gt;
</content>
</entry>
<entry>
<title>Add test-chmtime: a utility to change mtime on files</title>
<updated>2007-02-25T19:09:56Z</updated>
<author>
<name>Eric Wong</name>
<email>normalperson@yhbt.net</email>
</author>
<published>2007-02-25T02:18:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/git/commit/?id=17e48368751ae8df7ed0332ae8ef900ce983fce6'/>
<id>urn:sha1:17e48368751ae8df7ed0332ae8ef900ce983fce6</id>
<content type='text'>
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 (+|=|-|=+|=-)&lt;seconds&gt; &lt;file&gt;..."

  '+' increments the mtime on the files by &lt;seconds&gt;
  '-' decrements the mtime on the files by &lt;seconds&gt;
  '=' sets the mtime on the file to exactly &lt;seconds&gt;
  '=+' and '=-' sets the mtime on the file to &lt;seconds&gt; after or
      before the current time.

Signed-off-by: Eric Wong &lt;normalperson@yhbt.net&gt;
Signed-off-by: Junio C Hamano &lt;junkio@cox.net&gt;
</content>
</entry>
</feed>
