summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tissue/commit.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/tissue/commit.scm b/tissue/commit.scm
index 151a744..c151d3a 100644
--- a/tissue/commit.scm
+++ b/tissue/commit.scm
@@ -54,6 +54,8 @@
 (define-method (document-snippet-source-text (commit <commit>))
   "Return the source text for COMMIT from which to extract a search
 result snippet."
+  ;; The snippet source text excludes the first paragraph (i.e., the
+  ;; summary line) of the commit. Hence, we use commit-body.
   (commit-body
    (commit-lookup (current-git-repository)
                   (string->oid (commit-hash commit)))))