mirror of https://github.com/CGAL/cgal
Change the way the Git branch is displayed in test results
Now the commit hash will be display, and also all the local branch names that correspond (similarly to the use of --decorate in git-log).
This commit is contained in:
parent
29738420ba
commit
d47b8963a2
|
|
@ -207,7 +207,7 @@ sub install_packages() {
|
||||||
}
|
}
|
||||||
close(LOG_CONFLICTS);
|
close(LOG_CONFLICTS);
|
||||||
unlink 'temppack.tar';
|
unlink 'temppack.tar';
|
||||||
( -d "$ALLPACKAGESDIR/.git" ) && system("echo 'SCM branch:' > .scm-branch; git --git-dir=$ALLPACKAGESDIR/.git --work-tree=$ALLPACKAGESDIR status --short -b | head -1 >> .scm-branch");
|
( -d "$ALLPACKAGESDIR/.git" ) && system("git --git-dir=$ALLPACKAGESDIR/.git --work-tree=$ALLPACKAGESDIR log -n1 '--format=format:SCM branch:%n%H %d' > .scm-branch");
|
||||||
# foreach my $file (sort keys(%files)) {
|
# foreach my $file (sort keys(%files)) {
|
||||||
# print "$files{$file}: $file\n";
|
# print "$files{$file}: $file\n";
|
||||||
# }
|
# }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue