aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/git_plugin_should_support_force-pushed_src_repos.mdwn
blob: a9358dbc0ee37f3ad948ae3cc58ee7c4ecddf7b2 (plain)
1
2
3
4
5
6
7
8
If you force-push to a source repository that is the configured git repository for the ikiwiki srcdir,
rebuilding the wiki (after the hook) fails with

    fatal: refusing to merge unrelated histories
    'git pull --prune origin' failed:  at /usr/local/share/perl/5.28.1/IkiWiki/Plugin/git.pm line 251.

I think that under some circumstances ikiwiki should support this. Perhaps via configuration options
for the git plugin. — [[Jon]]