emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/git-commit f102acea61 1/2: magit-stashed-files: Call magit


From: ELPA Syncer
Subject: [nongnu] elpa/git-commit f102acea61 1/2: magit-stashed-files: Call magit-git-items directly
Date: Thu, 27 Jul 2023 00:59:56 -0400 (EDT)

branch: elpa/git-commit
commit f102acea61173d0577ad6010da7f26a40989fcee
Author: Alex Kreisher <akreisher18@gmail.com>
Commit: Alex Kreisher <akreisher18@gmail.com>

    magit-stashed-files: Call magit-git-items directly
    
    Fixes a type error introduced in
    f6f4b96b641a5af75e90b5431a32369ab0f664a7.
    Since stash is a string (not a list), apply is not needed to call 
magit-git-items.
---
 lisp/magit-git.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/magit-git.el b/lisp/magit-git.el
index c35394b531..f1de0eb351 100644
--- a/lisp/magit-git.el
+++ b/lisp/magit-git.el
@@ -1119,7 +1119,7 @@ tracked file."
                    "--exclude-standard" "--directory"))
 
 (defun magit-stashed-files (stash)
-  (apply #'magit-git-items "stash" "show" "-z" "--name-only" stash))
+  (magit-git-items "stash" "show" "-z" "--name-only" stash))
 
 (defun magit-skip-worktree-files ()
   (--keep (and (= (aref it 0) ?S)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]