[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/diff-hl d9f54b512a: diff-hl-git-index-object-name: No e
From: |
ELPA Syncer |
Subject: |
[elpa] externals/diff-hl d9f54b512a: diff-hl-git-index-object-name: No error when revision not found |
Date: |
Thu, 28 Nov 2024 18:57:52 -0500 (EST) |
branch: externals/diff-hl
commit d9f54b512a0f583c6c3b51ce0c8ef62bffac7763
Author: Dmitry Gutov <dmitry@gutov.dev>
Commit: Dmitry Gutov <dmitry@gutov.dev>
diff-hl-git-index-object-name: No error when revision not found
#226
---
diff-hl.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/diff-hl.el b/diff-hl.el
index cdf56deb52..c8f7887c0a 100644
--- a/diff-hl.el
+++ b/diff-hl.el
@@ -1162,7 +1162,7 @@ CONTEXT-LINES is the size of the unified diff context,
defaults to 0."
(vc-git-command (current-buffer) 0 file "ls-files" "-s")
(and
(goto-char (point-min))
- (re-search-forward "^[0-9]+ \\([0-9a-f]+\\)")
+ (re-search-forward "^[0-9]+ \\([0-9a-f]+\\)" nil t)
(match-string-no-properties 1))))
(defun diff-hl-git-index-revision (file object-name)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [elpa] externals/diff-hl d9f54b512a: diff-hl-git-index-object-name: No error when revision not found,
ELPA Syncer <=