bugreport: add compiler info
commit69bcbbceb74904e4f0f5001453072a34e3fed740
authorEmily Shaffer <emilyshaffer@google.com>
Thu, 16 Apr 2020 21:18:07 +0000 (16 14:18 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 16 Apr 2020 22:23:42 +0000 (16 15:23 -0700)
tree8e4dec764452c3e221daf5fe530a88ad4b80c840
parent1411914a1cbd6f5680e33db9817a1aecb01f8817
bugreport: add compiler info

To help pinpoint the source of a regression, it is useful to know some
info about the compiler which the user's Git client was built with. By
adding a generic get_compiler_info() in 'compat/' we can choose which
relevant information to share per compiler; to get started, let's
demonstrate the version of glibc if the user built with 'gcc'.

Signed-off-by: Emily Shaffer <emilyshaffer@google.com>
Helped-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
Helped-by: Johannes Schindelin <Johannes.Schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-bugreport.txt
bugreport.c
compat/compiler.h [new file with mode: 0644]