aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Armstrong <jeff@approximatrix.com>2021-05-19 10:03:02 -0400
committerJeffrey Armstrong <jeff@approximatrix.com>2021-05-19 10:03:02 -0400
commit6e4ef96cb49b02ab3f2a9b8bc17dbacc6001c002 (patch)
tree5fcb8ad2ea3abe10ad704544ed9f2e9484346f45
parent62f40d2d4cb8cd53d57a251404e90f9c4b2d4d31 (diff)
downloadlevitating-6e4ef96cb49b02ab3f2a9b8bc17dbacc6001c002.tar.gz
levitating-6e4ef96cb49b02ab3f2a9b8bc17dbacc6001c002.zip
Set git operations to default to the master branch
-rw-r--r--player/instructions.f907
1 files changed, 7 insertions, 0 deletions
diff --git a/player/instructions.f90 b/player/instructions.f90
index c0407c1..3b2f0de 100644
--- a/player/instructions.f90
+++ b/player/instructions.f90
@@ -323,8 +323,15 @@ contains
capture_filename => generate_temporary_filename()
found(1) = get_task_string(j, i, "origin", url)
+
found(2) = get_task_string(j, i, "branch", branch)
+ if(.not. found(2)) then
+ branch = "master"
+ found(2) = .true.
+ end if
+
found(3) = get_task_string(j, i, "directory", filename)
+
found(4) = get_task_logical(j, i, "destructive", destructive)
if(.not. found(4)) then
destructive = .false.