[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#58709: 29.0.50; [PATCH] Fallout 307ad21
From: |
Juri Linkov |
Subject: |
bug#58709: 29.0.50; [PATCH] Fallout 307ad21 |
Date: |
Mon, 24 Oct 2022 22:39:38 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) |
> Hadn't known vc-refresh-state gets into my find-file-hook
> irregardless. This won't work with git branches in a detached
> HEAD state.
>...
> (defun vc-git-working-revision (_file)
> "Git-specific version of `vc-working-revision'."
> (let* ((process-file-side-effects nil)
> - (commit (vc-git--rev-parse "HEAD" t)))
> - (or (vc-git-symbolic-commit commit) commit)))
Maybe Philip could comment on this (Cc:ed).
Regarding the commit 307ad21, what I noticed is that after this commit,
typing 'C-c C-w' (log-edit-generate-changelog-from-diff) in log-edit mode,
creates temporary buffers with names that contain symbolic revision names
in their buffer names instead of hash numbers, that looks very strange.