[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/vc-got 1d573c9 119/145: rename arguments to emphasize t
From: |
ELPA Syncer |
Subject: |
[elpa] externals/vc-got 1d573c9 119/145: rename arguments to emphasize that they must be files |
Date: |
Thu, 9 Sep 2021 15:58:46 -0400 (EDT) |
branch: externals/vc-got
commit 1d573c91bbabfd2d81aa34286d349a65c52c9298
Author: Omar Polo <op@omarpolo.com>
Commit: Omar Polo <op@omarpolo.com>
rename arguments to emphasize that they must be files
---
vc-got.el | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/vc-got.el b/vc-got.el
index 3a6905e..2b2c064 100755
--- a/vc-got.el
+++ b/vc-got.el
@@ -366,13 +366,14 @@ the specified PATHS."
branch
(buffer-string)))))
-(defun vc-got--diff (&rest args)
- "Call got diff with ARGS. The result will be stored in the current buffer."
+(defun vc-got--diff (&rest files)
+ "Call got diff against FILES.
+The result will be stored in the current buffer."
(let (process-file-side-effects)
(zerop (vc-got--call "diff"
(vc-switches 'got 'diff)
"--"
- (mapcar #'file-relative-name args)))))
+ (mapcar #'file-relative-name files)))))
(defun vc-got--unstage (file-or-directory)
"Unstage all the staged hunks at or within FILE-OR-DIRECTORY.
- [elpa] externals/vc-got e9a5df0 098/145: make vc-annotate-show-diff-revision-at-line works, (continued)
- [elpa] externals/vc-got e9a5df0 098/145: make vc-annotate-show-diff-revision-at-line works, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 567c17a 093/145: vc-got trims '----' by itself now, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 1870c8b 094/145: add a space when prompting for the push/pull operations, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got c151c25 095/145: implement vc-got-find-file-hook, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 8ec0bb7 107/145: guard vc-got-diff against nil files, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got db89d6f 114/145: add a wrapper for the update command, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got ae2ad57 123/145: don't need mark-resolved and find-admin-dir, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 09d5937 103/145: implement retrieve-tag and complete the tag system!, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got e104d04 122/145: update the year, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got d3ca33b 116/145: add the required "headers" for a package, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 1d573c9 119/145: rename arguments to emphasize that they must be files,
ELPA Syncer <=
- [elpa] externals/vc-got 61b9a83 124/145: add the keyword `tools', like in vc-git, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 00eb9c8 127/145: add `lint' target, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 95a78ec 134/145: missing require and split setq-locals, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 4b3c0c6 132/145: add Timo as author, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 3ec8a8b 130/145: chores, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 5154c5c 136/145: switch to `got send' for pushing, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 3dcaa71 139/145: improve tag creation buffer, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got adbe5db 143/145: move the copyright to the FSF, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 2a50da6 140/145: push doesn't use git anymore, ELPA Syncer, 2021/09/09
- [elpa] externals/vc-got 961d35b 142/145: fix find-revision, ELPA Syncer, 2021/09/09