nqminhuit / gis

Java Command Line Application which extends Git for supporting git-modules
1 stars 0 forks source link

[bug] Gis does not exit when pushing to invalid branch #31

Closed nqminhuit closed 2 years ago

nqminhuit commented 2 years ago
$ gis push eee -v
Are you sure you want to push to remote 'eee' [Y/n] y
  [DEBUG] directory 'projects/small-git-root-module' does not satisfy the predicate
  [DEBUG] directory 'projects/small-git-root-module/small-git-api' does not satisfy the predicate
  [DEBUG] directory 'projects/small-git-root-module/small-git-schema' does not satisfy the predicate
  [DEBUG] directory 'projects/small-git-root-module/small-git-shared' does not satisfy the predicate
  [DEBUG] directory 'projects/small-git-root-module/small-git-craft' does not satisfy the predicate
  [DEBUG] directory 'projects/small-git-root-module/small-git-domain' does not satisfy the predicate
  [DEBUG] directory 'projects/small-git-root-module/small-git-app' does not satisfy the predicate
  [DEBUG] directory 'projects/small-git-root-module/studious-eureka' does not satisfy the predicate
  [DEBUG] directory 'projects/small-git-root-module/fantastic-octo-chainsaw' does not satisfy the predicate
  [DEBUG] directory 'projects/small-git-root-module/literate-octo-invention' does not satisfy the predicate
  [DEBUG] directory 'projects/small-git-root-module/silver-tribble' does not satisfy the predicate
nqminhuit commented 2 years ago

only happens if there is no valid branch from all modules, if there is at least 1 valid branch on 1 module, it's OK.