changeset 333:10e2b8595ace

list all branches
author Marc Davis <davis@ssdt-ohio.org>
date Mon, 06 Mar 2023 15:13:17 -0500
parents ae546c35dee4
children 64a8d53c6d98
files init40-git.gradle
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/init40-git.gradle	Mon Mar 06 15:11:10 2023 -0500
+++ b/init40-git.gradle	Mon Mar 06 15:13:17 2023 -0500
@@ -810,7 +810,7 @@
                     .findAll { it != null }
                     .sort { v1, v2 -> v2 <=> v1 }
 
-            def branches = "git branch --remote".execute().text.split("\n")
+            def branches = "git branch --all".execute().text.split("\n")
                     .findAll { it.contains('release') || it.contains('hotfix') }
                     .collect { it.replaceAll('\\s+', ' ').split(' ')[1].split('/')[2] - 'v' }
                     .collect { new Version(*it.split('\\.')*.toInteger()) }