From 551238783b7b87966d6539bc58a803544ff12396 Mon Sep 17 00:00:00 2001 From: Jan Michel Date: Sat, 3 Aug 2013 22:36:32 +0200 Subject: [PATCH] added links to start page, option to stay at current branch during checkout --- index.pl | 9 ++++++--- tools/gitupdate.pl | 6 ++++-- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/index.pl b/index.pl index 0a2a008..c7dfc82 100755 --- a/index.pl +++ b/index.pl @@ -27,15 +27,18 @@ Guess what? We didn't write any!

Monitoring and Control Features

-

Update

diff --git a/tools/gitupdate.pl b/tools/gitupdate.pl index 1bbf858..246db14 100755 --- a/tools/gitupdate.pl +++ b/tools/gitupdate.pl @@ -39,8 +39,10 @@ cmd("git checkout -- ../config ../temp"); print "Pulling new data from server\n"; cmd("git pull "); -print "Changing to branch $commands[0].\n"; -cmd("git checkout $commands[0]"); +unless($commands[0] eq "current") { + print "Changing to branch $commands[0].\n"; + cmd("git checkout $commands[0]"); + } unless (defined $commands[1] && $commands[1] eq "config") { -- 2.43.0