[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 072f238 058/399: counsel.el: Capitalize proper noun "Git"
From: |
Oleh Krehel |
Subject: |
[elpa] master 072f238 058/399: counsel.el: Capitalize proper noun "Git" |
Date: |
Sat, 20 Jul 2019 14:56:48 -0400 (EDT) |
branch: master
commit 072f23857ae740ff2e9a1125536060840f37117b
Author: Basil L. Contovounesios <address@hidden>
Commit: Basil L. Contovounesios <address@hidden>
counsel.el: Capitalize proper noun "Git"
(counsel-locate-git-root, counsel-git-grep-function)
(counsel-git-grep, counsel-git-grep-proj-function)
(counsel-git-worktree-list, counsel-git-branch-list):
Capitalize "Git" as a proper noun where appropriate.
---
counsel.el | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/counsel.el b/counsel.el
index cd98456..1fe8f45 100644
--- a/counsel.el
+++ b/counsel.el
@@ -1180,9 +1180,9 @@ Like `locate-dominating-file', but DIR defaults to
(expand-file-name dir)))
(defun counsel-locate-git-root ()
- "Locate the root of the git repository containing the current buffer."
+ "Return the root of the Git repository containing the current buffer."
(or (counsel--dominating-file ".git")
- (error "Not in a git repository")))
+ (error "Not in a Git repository")))
;;;###autoload
(defun counsel-git (&optional initial-input)
@@ -1282,7 +1282,7 @@ Typical value: '(recenter)."
:type 'hook)
(defun counsel-git-grep-function (str &optional _pred &rest _unused)
- "Grep in the current git repository for STRING."
+ "Grep in the current Git repository for STRING."
(or
(and (> counsel--git-grep-count counsel--git-grep-count-threshold)
(ivy-more-chars))
@@ -1422,7 +1422,7 @@ COMMAND fails. Obey file handlers based on
`default-directory'."
;;;###autoload
(defun counsel-git-grep (&optional cmd initial-input)
- "Grep for a string in the current git repository.
+ "Grep for a string in the current Git repository.
When CMD is a string, use it as a \"git grep\" command.
When CMD is non-nil, prompt for a specific \"git grep\" command.
INITIAL-INPUT can be given as the initial minibuffer input."
@@ -1462,7 +1462,7 @@ INITIAL-INPUT can be given as the initial minibuffer
input."
(cl-pushnew 'counsel-git-grep ivy-highlight-grep-commands)
(defun counsel-git-grep-proj-function (str)
- "Grep for STR in the current git repository."
+ "Grep for STR in the current Git repository."
(or
(ivy-more-chars)
(let ((regex (setq ivy--old-re
@@ -1672,7 +1672,7 @@ TREE is the selected candidate."
(find-file file-name)))
(defun counsel-git-worktree-list ()
- "List worktrees in the git repository containing the current buffer."
+ "List worktrees in the Git repository containing the current buffer."
(let ((default-directory (counsel-locate-git-root)))
(split-string (shell-command-to-string "git worktree list") "\n" t)))
@@ -1721,7 +1721,7 @@ character (#x20), or the string's end if it lacks a
space."
(substring branch 0 (string-match-p " " branch))))))
(defun counsel-git-branch-list ()
- "Return list of branches in the current git repository.
+ "Return list of branches in the current Git repository.
Value comprises all local and remote branches bar the one
currently checked out."
(cl-mapcan (lambda (line)
- [elpa] master 9e3c855 052/399: ivy.el (ivy-make-magic-action): Fix bug, (continued)
- [elpa] master 9e3c855 052/399: ivy.el (ivy-make-magic-action): Fix bug, Oleh Krehel, 2019/07/20
- [elpa] master 9cf3f08 045/399: swiper.el (swiper-use-visual-line-p): New variable, Oleh Krehel, 2019/07/20
- [elpa] master 15e2c88 051/399: Restore buffer-list after counsel-switch-buffers, Oleh Krehel, 2019/07/20
- [elpa] master 80d40e4 046/399: Dynamically handle grep tool look-arounds, Oleh Krehel, 2019/07/20
- [elpa] master 0a4ad42 047/399: ivy-test.el (counsel--grep-regex): Add test for negative lookahead, Oleh Krehel, 2019/07/20
- [elpa] master 5f4e944 057/399: counsel.el: Fix finding dominating file, Oleh Krehel, 2019/07/20
- [elpa] master 3c16fa1 055/399: counsel.el (counsel-compile): Clean up, Oleh Krehel, 2019/07/20
- [elpa] master 876b4ac 059/399: counsel.el (counsel-compile): Minor cleanup, Oleh Krehel, 2019/07/20
- [elpa] master 56201b1 056/399: counsel.el: Remove cl-extra, Oleh Krehel, 2019/07/20
- [elpa] master 859e3cb 061/399: counsel.el: Clean up compile history keeping, Oleh Krehel, 2019/07/20
- [elpa] master 072f238 058/399: counsel.el: Capitalize proper noun "Git",
Oleh Krehel <=
- [elpa] master 5f5a263 054/399: counsel.el (counsel-compile): Add, Oleh Krehel, 2019/07/20
- [elpa] master adea72f 060/399: counsel.el: Simplify counsel-compile action, Oleh Krehel, 2019/07/20
- [elpa] master 50dc9e6 065/399: counsel.el (counsel--get-build-subdirs): Fix, Oleh Krehel, 2019/07/20
- [elpa] master 4e0d403 066/399: counsel.el (counsel--find-build-subdir): Simplify, Oleh Krehel, 2019/07/20
- [elpa] master 144e7d9 069/399: counsel.el: Clean up recent compile variables, Oleh Krehel, 2019/07/20
- [elpa] master 82e6c54 067/399: counsel.el: Clean up compile make invocation, Oleh Krehel, 2019/07/20
- [elpa] master bb58a29 071/399: counsel.el (counsel-ag): Fix error in non-Git directory, Oleh Krehel, 2019/07/20
- [elpa] master f0d93cf 073/399: counsel.el (counsel-compile): counsel-compile-get-filtered-history, Oleh Krehel, 2019/07/20
- [elpa] master ce0c39e 076/399: counsel.el (counsel--git-root): Rename, Oleh Krehel, 2019/07/20
- [elpa] master a37d4e3 072/399: counsel.el (counsel-compile): fix breakage to subdir recursion, Oleh Krehel, 2019/07/20