diff options
Diffstat (limited to 'vimulti.clj')
| -rw-r--r-- | vimulti.clj | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/vimulti.clj b/vimulti.clj index 6c59807..f7a3782 100644 --- a/vimulti.clj +++ b/vimulti.clj @@ -48,9 +48,11 @@ ;; git helpers (defn- get-current-branch [dir] - (shell {:dir dir + (-> (shell {:dir dir :out :string} - "git branch --show-current")) + "git branch --show-current") + :out + str/trim-newline)) ;; target should be a string like "app-name:branch" or "app-name@tag" ;; returns a map with keys :app-name :branch :tag... |
