Monday, May 25. 2009Sufficient unto the day is the git thereofTrackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
The simplest conversion of what's done right now would be:
git log --after=date There may be some potential for race conditions though from clock skew though, might miss a commit. What you probably want to do instead is save the SHA1 commit ID of the last commit each time through via something like: git log -n 1 --pretty=oneline Then after a pull you can pull the changelist with: git log @previous SHA1@..HEAD
If you use a format string, instead of doing the oneline output, you can save some parsing: git log -1 --pretty=format:%H
|
My Links etcCalendar
QuicksearchArchivesCategoriesBlog Administration |
|||||||||||||||||||||||||||||||||||||||||||||||||