mirror of
https://github.com/curl/curl.git
synced 2026-06-16 17:25:39 +03:00
don't touch ares/aclocal.m4 and show recent git commits
since c-ares no longer embedded, we must not touch such files anymore we show the 5 last git commits if git was proven in use, to help us see exactly what's being tested
This commit is contained in:
parent
675330b8df
commit
efcf372d86
1 changed files with 8 additions and 5 deletions
|
|
@ -374,11 +374,6 @@ chdir $CURLDIR;
|
|||
# Do the git thing, or not...
|
||||
if ($git) {
|
||||
|
||||
# this is a temporary fix to make things work again, remove later
|
||||
logit "remove ares/aclocal.m4";
|
||||
unlink "ares/aclocal.m4";
|
||||
|
||||
logit "update from git";
|
||||
my $cvsstat;
|
||||
|
||||
sub gitpull() {
|
||||
|
|
@ -388,6 +383,7 @@ if ($git) {
|
|||
return 1;
|
||||
}
|
||||
else {
|
||||
|
||||
logit "run git pull";
|
||||
system("git pull 2>&1");
|
||||
}
|
||||
|
|
@ -405,6 +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) {
|
||||
logit " $l";
|
||||
}
|
||||
}
|
||||
|
||||
if($nobuildconf) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue