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

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

[elpa] scratch/gited a72bdca: * gited.el (gited-remote-repository-p): Do


From: Tino Calancha
Subject: [elpa] scratch/gited a72bdca: * gited.el (gited-remote-repository-p): Don't include origin in regexp.
Date: Wed, 7 Jun 2017 23:40:06 -0400 (EDT)

branch: scratch/gited
commit a72bdca74a96a361c8fd1f9be85f4aa5fbd40542
Author: Tino Calancha <address@hidden>
Commit: Tino Calancha <address@hidden>

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

diff --git a/packages/gited/gited.el b/packages/gited/gited.el
index ffa98c9..3869264 100644
--- a/packages/gited/gited.el
+++ b/packages/gited/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]