commit 6f42ede4aec43aaad2f470329c034ed0b40945b0 from: Omar Polo date: Tue Jan 05 15:30:39 2021 UTC don't create temp buffers for nothing commit - b2721e87c68f1736977be7a3e803375abad6bfa8 commit + 6f42ede4aec43aaad2f470329c034ed0b40945b0 blob - 23ea185c7218b3609ba2272063cfb4a561807b88 blob + 12d777caba954f14f20f11ad69fdeb3ded04fa85 --- vc-got.el +++ vc-got.el @@ -727,8 +727,8 @@ Value is returned as floating point fractional number ((file-exists-p "config") "config"))) found) - (with-temp-buffer - (when conf + (when conf + (with-temp-buffer (insert-file-contents conf) (goto-char (point-min)) (when (search-forward heading nil t)