aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2010-03-25 13:56:01 +0100
committerDaniel Stenberg <daniel@haxx.se>2010-03-25 13:56:01 +0100
commitac8b2ef563cf931c377ecdd3e2a5a055e783ea7b (patch)
tree5946aaefb797d2bb3b79bc35d5ff94ef935225a6 /tests
parentefcf372d862f92133b6f466dd52251ec4f147465 (diff)
show 5 commits even if no git pull was made
Diffstat (limited to 'tests')
-rwxr-xr-xtests/testcurl.pl10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/testcurl.pl b/tests/testcurl.pl
index e6026dd62..9f8f87846 100755
--- a/tests/testcurl.pl
+++ b/tests/testcurl.pl
@@ -401,13 +401,13 @@ if ($git) {
elsif (!$nogitpull) {
# Set timestamp to the UTC the git update took place.
$timestamp = scalar(gmtime)." UTC";
+ }
- # get the last 5 commits for show
- my @commits=`git log --oneline -5`;
- logit "The most recent git commits:";
- for my $l (@commits) {
+ # get the last 5 commits for show (even if no pull was made)
+ my @commits=`git log --oneline -5`;
+ logit "The most recent git commits:";
+ for my $l (@commits) {
logit " $l";
- }
}
if($nobuildconf) {