Re:Gitwatch: Watch a Git repository for changes
by oxplot on Saturday November 14, 2015 @04:06AM
(#10565035)
That only gives you the commit for the head of the branches. If there were multiple commits since you checked last, you'll miss some!
[ Parent
| on HN ]
Re:Gitwatch: Watch a Git repository for changes
by fenollp on Saturday November 14, 2015 @06:44AM
(#10565348)
You will miss some. But then you just make a diff on the commits' SHA and only then you clone the repo (or fetch an archive, which is quicker).
You save a lot of time / bandwidth / space this way.
Re:Gitwatch: Watch a Git repository for changes
by oxplot on Saturday November 14, 2015 @06:49AM
(#10565357)
You only delay saving time and bandwidth — you eventually have to clone the repo for any ops other than checking the head SHAs and unless the repo is rarely updated, the delay will be short.