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

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

[elpa] externals/gited 51dc076 14/73: * gited.el (gited-remote-repositor


From: Stefan Monnier
Subject: [elpa] externals/gited 51dc076 14/73: * gited.el (gited-remote-repository-p): Don't include origin in regexp.
Date: Sun, 29 Nov 2020 00:00:30 -0500 (EST)

branch: externals/gited
commit 51dc0763a131b37998018bf5bb2d2be11c7dc6a6
Author: Tino Calancha <tino.calancha@gmail.com>
Commit: Tino Calancha <tino.calancha@gmail.com>

    * gited.el (gited-remote-repository-p): Don't include origin in regexp.
---
 gited.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gited.el b/gited.el
index ffa98c9..3869264 100644
--- a/gited.el
+++ b/gited.el
@@ -10,9 +10,9 @@
 ;; Compatibility: GNU Emacs: 24.4
 ;; Version: 0.2.0
 ;; Package-Requires: ((emacs "24.4") (cl-lib "0.5"))
-;; Last-Updated: Thu Jun 08 09:36:32 JST 2017
+;; Last-Updated: Thu Jun 08 12:36:44 JST 2017
 ;;           By: calancha
-;;     Update #: 646
+;;     Update #: 647
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;;
@@ -881,7 +881,7 @@ You can then feed the file name(s) to other commands with 
\\[yank]."
 
 (defun gited-remote-repository-p ()
   "Return non-nil if current repository is remote."
-  (let ((regexp "^remote.origin"))
+  (let ((regexp "^remote\."))
     (with-temp-buffer
       (gited-git-command  '("config" "--local" "--list") (current-buffer))
       (goto-char 1)



reply via email to

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