]> git.eshelyaron.com Git - emacs.git/commitdiff
; * admin/cherry.el (cherry-picked-p): Use 'git -C'.
authorEshel Yaron <me@eshelyaron.com>
Fri, 22 Dec 2023 19:16:33 +0000 (20:16 +0100)
committerEshel Yaron <me@eshelyaron.com>
Fri, 22 Dec 2023 19:16:33 +0000 (20:16 +0100)
admin/cherry.el

index 2911defeb84106df12d02dc62656da9d16462165..dfa98d8dfc514467cd0a4c61d0c7f470ae439f8e 100644 (file)
@@ -45,7 +45,8 @@
   (car
    (string-lines
     (shell-command-to-string
-     (concat "git log -1 --pretty=%H --grep='(cherry picked from commit "
+     (concat "git -C " source-directory
+             " log -1 --pretty=%H --grep='(cherry picked from commit "
              commit
              ")' "
              merge-base "..HEAD"))