diff options
author | Arun Isaac | 2022-07-05 11:00:02 +0530 |
---|---|---|
committer | Arun Isaac | 2022-07-05 11:00:02 +0530 |
commit | 1dc9f37fe2830e12e3013aab5e5c1b024195380f (patch) | |
tree | 3c6d384c234f417f5a8c10797a7a208b17c71716 | |
parent | ae4dd4b85f285dad53eb0499493afadc43057f76 (diff) | |
download | tissue-1dc9f37fe2830e12e3013aab5e5c1b024195380f.tar.gz tissue-1dc9f37fe2830e12e3013aab5e5c1b024195380f.tar.lz tissue-1dc9f37fe2830e12e3013aab5e5c1b024195380f.zip |
bin: Refer to %xapian-index, not db-path, in main function.
This bug was introduced in ec434ea0710e9ece9f5239c7fe2b1f965a53bea1
when copy-pasting code.
* bin/tissue (main): Refer to %xapian-index, not db-path.
-rwxr-xr-x | bin/tissue | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -487,8 +487,8 @@ Pull latest from upstream repositories. ;; Ensure index exists, rebuilding it if it is stale. (let ((current-head (oid->string (reference-name->oid (current-git-repository) "HEAD")))) - (unless (and (file-exists? db-path) - (string=? (call-with-database db-path + (unless (and (file-exists? %xapian-index) + (string=? (call-with-database %xapian-index (cut Database-get-metadata <> "commit")) current-head)) (index %xapian-index))) |