From 73419c7edafa2e1fe19c39c66786e6f83e93c20d Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Mon, 22 Oct 2018 13:20:44 +0900 Subject: [PATCH] Add comment --- emacs.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/emacs.el b/emacs.el index f39b843..3c043e5 100644 --- a/emacs.el +++ b/emacs.el @@ -2779,6 +2779,8 @@ PARENT should be a full SHA-1 object name." "Get known children list of PARENT commit. PARENT should be a full SHA-1 object name." (gethash parent git-walktree-known-child-revisions)) +;; https://stackoverflow.com/a/9870218 +;; git log --reverse --pretty=format:%H -n 1 --ancestry-path ..HEAD (defun git-walktree--choose-committish (prompt-format collection) "Emit PROMPT-FORMAT and ask user to which committish of COLLECTION to use.