We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4fe9ed commit c37a9f5Copy full SHA for c37a9f5
src/babashka/bbin/git.clj
@@ -13,6 +13,7 @@
13
(let [lib-dir (ensure-git-dir client git-url)
14
remote-info (sh "git remote show origin" {:dir lib-dir
15
:extra-env {"LC_ALL" "C"}})
16
+ _ (tap> {'remote-info (:out remote-info)})
17
[[_ branch]] (->> (:out remote-info)
18
str/split-lines
19
(some #(re-seq #"HEAD branch: (\w+)" %)))]
0 commit comments