Skip to content

Commit c3f1239

Browse files
authored
merge clj logging improvement (#391)
1 parent 8193c93 commit c3f1239

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

script/merge.clj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,10 @@
6868
(ice/p [:yellow "Resolving conflicts in directory: " dir])
6969
(doseq [file files-in-dir]
7070
(ice/p [:yellow "Resolving file: " file])
71-
(ice/p [:yellow " - Checking out " strat ": | " (:out (p/sh "git" "checkout" strat file))])
72-
(ice/p [:yellow " - Adding file: | " (:out (p/sh "git" "add" file))])))))))))
71+
(:out (p/sh "git" "checkout" strat file))
72+
(ice/p [:yellow " - git checkout " strat " " file])
73+
(:out (p/sh "git" "add" file))
74+
(ice/p [:yellow " - git add " file])))))))))
7375

7476
(defn- update-and-merge-pr [source-branch target-branch pr-number merge-strategy]
7577
(let [head-ref-name (u/head-ref-name source-branch target-branch)]

0 commit comments

Comments
 (0)