mirror of
https://github.com/curl/curl.git
synced 2026-04-20 09:01:15 +03:00
show 5 commits even if no git pull was made
This commit is contained in:
parent
efcf372d86
commit
ac8b2ef563
1 changed files with 5 additions and 5 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue