From: Eshel Yaron Date: Fri, 22 Dec 2023 19:16:33 +0000 (+0100) Subject: ; * admin/cherry.el (cherry-picked-p): Use 'git -C'. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e1059d3b95baeebf0b6733576b5beef84fcf384a;p=emacs.git ; * admin/cherry.el (cherry-picked-p): Use 'git -C'. --- diff --git a/admin/cherry.el b/admin/cherry.el index 2911defeb84..dfa98d8dfc5 100644 --- a/admin/cherry.el +++ b/admin/cherry.el @@ -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"))