]> git.armaanb.net Git - stagit.git/commit
post-receive: fix warning in script for example when pushing deleted tags
authorHiltjo Posthuma <hiltjo@codemadness.org>
Sat, 25 Nov 2017 15:02:24 +0000 (16:02 +0100)
committerHiltjo Posthuma <hiltjo@codemadness.org>
Sat, 25 Nov 2017 15:02:24 +0000 (16:02 +0100)
commit020673b8fddfc649e391831aee2e5562ac25210c
treed3887ef5b2b52943441834f604a2faf62f97657c
parent1add4bf3ae0105ce19d9189a499bf450e32ec171
post-receive: fix warning in script for example when pushing deleted tags

the "new" variable would be zero:
remote: fatal: bad object 0000000000000000000000000000000000000000

NOTE: when pushing new tags the "old" variable would be zero, this was
      already fixed.
example_post-receive.sh