Skip to content

Commit c873f83

Browse files
committed
sync up git run impl
1 parent 64799aa commit c873f83

File tree

1 file changed

+3
-3
lines changed
  • src/main/clojure/clojure/tools/gitlibs

1 file changed

+3
-3
lines changed

src/main/clojure/clojure/tools/gitlibs/impl.clj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@
141141
(throw (IOException. (str "Prefix not unique: " prefix))))))))
142142

143143
(defn tags
144-
[git-dir opts]
145-
(let [{:keys [exit out err] :as ret} (runproc opts "git" "--git-dir" git-dir "tag")]
144+
[git-dir]
145+
(let [{:keys [exit out err] :as ret} (run-git "--git-dir" git-dir "tag")]
146146
(when-not (zero? exit)
147147
(throw (ex-info (format "Unable to get tags %s%n%s" git-dir err) ret)))
148-
(remove str/blank? (str/split-lines out))))
148+
(remove str/blank? (str/split-lines out))))

0 commit comments

Comments
 (0)