Skip to content

Commit

Permalink
fix: do not push local repo when switching repos
Browse files Browse the repository at this point in the history
  • Loading branch information
gyk authored and tiensonqin committed Jan 1, 2021
1 parent 234fa34 commit 105cb5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/frontend/handler/repo.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@
(or (not= status :pushing)
custom-commit?))
(->
(p/let [files (git/add-all (state/get-current-repo))
(p/let [files (git/add-all repo-url)
changed-files? (some? (seq files))
should-commit? (or changed-files? merge-push-no-diff?)

Expand Down

0 comments on commit 105cb5f

Please sign in to comment.