]> Sergey Matveev's repositories - public-inbox.git/commit
search: improve reindexing behavior
authorEric Wong <e@80x24.org>
Tue, 2 Aug 2016 08:32:09 +0000 (08:32 +0000)
committerEric Wong <e@80x24.org>
Tue, 2 Aug 2016 08:41:43 +0000 (08:41 +0000)
commit4caa17ef5aa8554d78b8c013096f12429c58e050
tree651bda4a566e7625445e194270be6f01d5c8aa3f
parentb7c4bca292fb1f7ac4d73ff96b2ce95185b4fc66
search: improve reindexing behavior

For reindexing, fresh Xapian DBs do not count as a reindex,
allowing users to blindly use --reindex on the first
run on a clean repo.

While we're at it, allow indexing to override HEAD ref for
multi-head git repos.
lib/PublicInbox/Import.pm
lib/PublicInbox/SearchIdx.pm