Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove incorrect use of 'distinct in 'origin-branches

'origin-branches is called by add-git-facts, once each to generate keys and
values of a branch name-to-sha map. The use of distinct for each set seprately
caused misalignments producing an incorrect map.
  • Loading branch information...
commit 8652136060df4fae84b62cd3cb335f4a7c009a9b 1 parent 9c4d55a
@Chouser Chouser authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  src/leiningen/voom.clj
View
3  src/leiningen/voom.clj
@@ -409,8 +409,7 @@
["--symbolic-full-name"])
["--remotes=origin/"]))
:lines
- (map #(re-find #"[^/]+$" %))
- distinct))
+ (map #(re-find #"[^/]+$" %))))
(defn new-throttle
([msg-fn] (new-throttle 500 msg-fn (constantly false)))
Please sign in to comment.
Something went wrong with that request. Please try again.