7 May
2008
7 May
'08
7:16 p.m.
Hi, On Wed, May 07, 2008 at 15:52:04 +0200, Richard Pöttler wrote: > Hi, > > thanks for your input. I have modified the driver according to your replies (I > hope I understood them all). The actual version is attached. Are there any > further suggestions/recommendations/comments? I've reworked the script quite a bit, introduce the following changes: - move all DESTINATION verification and cleanup into one function - add check to make sure URL, BRANCH and DESTINATION are not empty - use special GIT_DIR to make local commits less easy - exit on the first error to avoid a series of failed git calls - mimick output of cvsup - add --no-checkout to clone to make sure the diff is also printed for BRANCH=master - silence clone I also did some formatting changes to match my preference. This seems now pretty stable, although it still suffers from some of the disadvantages discussed earlier in this thread. Cheers, Johannes -- Johannes Winkelmann mailto:jw@smts.ch Zurich, Switzerland http://jw.smts.ch