Commit ac8b2ef5 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

show 5 commits even if no git pull was made

parent efcf372d
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -401,14 +401,14 @@ 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
  # 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) {
      logit "told to not run buildconf";