From e1059d3b95baeebf0b6733576b5beef84fcf384a Mon Sep 17 00:00:00 2001 From: Eshel Yaron Date: Fri, 22 Dec 2023 20:16:33 +0100 Subject: [PATCH] ; * admin/cherry.el (cherry-picked-p): Use 'git -C'. --- admin/cherry.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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")) -- 2.39.5