Re: Diffs from CVS keyword expansion

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Uwe Kleine-Koenig <zeisberg@...>
Cc: Johannes Schindelin <Johannes.Schindelin@...>, Jon Smirl <jonsmirl@...>, Git Mailing List <git@...>
Date: Wednesday, December 6, 2006 - 6:08 am

>>>>> "Uwe" == Uwe Kleine-Koenig <zeisberg@informatik.uni-freiburg.de> writes:
Uwe> One thing I don't like about both scripts is, that the timestamp of
Uwe> a file changes with that, even if there are no changes.  Anyone knows
Uwe> another predefined variable/trick that doesn't hurt performance (and
Uwe> readability) too much?

You have to do two passes, or a pass-and-a-half, and do the rename/rewrite
based on whether anything changed.

"Just a few more lines of code." :)  If it's really important, I can
be coaxed to dig it up.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Diffs from CVS keyword expansion, Jon Smirl, (Thu Nov 30, 11:56 pm)
Re: Diffs from CVS keyword expansion, Uwe Kleine-Koenig, (Tue Dec 5, 8:14 am)
Re: Diffs from CVS keyword expansion, Randal L. Schwartz, (Tue Dec 5, 3:45 pm)
Re: Diffs from CVS keyword expansion, Junio C Hamano, (Tue Dec 5, 3:55 pm)
Re: Diffs from CVS keyword expansion, Robin Rosenberg, (Tue Dec 5, 4:30 pm)
Re: Diffs from CVS keyword expansion, Johannes Schindelin, (Tue Dec 5, 3:48 pm)
Re: Diffs from CVS keyword expansion, Uwe Kleine-Koenig, (Wed Dec 6, 6:05 am)
Re: Diffs from CVS keyword expansion, Randal L. Schwartz, (Wed Dec 6, 6:08 am)
Re: Diffs from CVS keyword expansion, Juergen Ruehle, (Fri Dec 1, 3:06 am)
Re: Diffs from CVS keyword expansion, Linus Torvalds, (Fri Dec 1, 3:44 am)
Re: Diffs from CVS keyword expansion, Jon Smirl, (Fri Dec 1, 11:33 am)