Re: [PATCH] Fix race condition in t9119-git-svn-info.sh
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Dec 31, 2007, 22:29 UTC
- Message-ID
- <7vodc65whw.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <1199131665-1633-1-git-send-email-ddkilzer@kilzer.net>
"David D. Kilzer" <ddkilzer@kilzer.net> writes:
Show 7 quoted lines
> Changed the ptouch bash function to use the "Text Last Updated" > date reported by 'svn info' when changing the modified time > (mtime) of the file/symlink/directory in the git working > directory. Previously it used the mtime of the item in the > svn working directory, which caused the race condition. > > Signed-off-by: David D. Kilzer <ddkilzer@kilzer.net>
Show 8 quoted lines
> @@ -350,8 +355,8 @@ test_expect_success 'info unknown-symlink-directory' " > cd svnwc && > ln -s unknown-directory unknown-symlink-directory && > cd .. && > - ptouch gitwc/unknown-symlink-directory \ > - svnwc/unknown-symlink-directory && > + ptouch svnwc/unknown-symlink-directory \ > + gitwc/unknown-symlink-directory &&
Hmph. Am I the only one who finds this repetition somewhat disturbing?