]> Sergey Matveev's repositories - public-inbox.git/commit
clone: fix --post-update-hook behavior
authorEric Wong <e@80x24.org>
Fri, 30 Dec 2022 10:59:39 +0000 (10:59 +0000)
committerEric Wong <e@80x24.org>
Fri, 30 Dec 2022 17:36:44 +0000 (17:36 +0000)
commit68e182a29404407680bee482f99ee24dd9c3c7cb
treecb99eb87b06c59ca70be84858fab0d9c64d99ac6
parentb70592ae75f1251c2b116c8bb58a671534c650b4
clone: fix --post-update-hook behavior

Only run hooks if we've done a fetch (which may be a no-op), and
add some tests to ensure it works as advertised with and without
--objstore=
lib/PublicInbox/LeiMirror.pm
t/clone-coderepo.t