We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57020a3 commit 79343baCopy full SHA for 79343ba
src/ralphie/git.clj
@@ -290,7 +290,12 @@
290
;; needs-push?
291
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
292
293
-(defn needs-push? [repo-path]
+(defn needs-push?
294
+ "TODO refactor to handle non-main branches
295
+ Maybe just compare to the upstream? Needs more nuance.
296
+
297
+ Works great if you're only on one branch!"
298
+ [repo-path]
299
(-> {:error-message
300
(str "RALPHIE ERROR for " repo-path " in git/needs-push?")}
301
(bb/run-proc
0 commit comments