git push --tags gives error
When ever I push tags, I get an error like:
fatal: Invalid revision range 0000000000000000000000000000000000000000..a4cbe620e83d0dab6fe964d809f0fb00cbed5f46
I suspect it is the ‘update’ hook that fires events to CIA. It unconditionally calls git rev-list $(oldhead)..$(newhead), but I think oldhead is all zeroes when updloading tags. And yes, upload hook fires for each tag individually. And trying to call “git rev-list” with the above parameters gives the exact same error as when pushing.
Please fix ‘update’ hook to check for all zeroes ‘oldhead’ and treat it specially: e.g. fire CIA to send tag notification, or just ignore it.
(from redmine: issue id 102, created on 2009-07-30, closed on 2009-11-24)