diff options
author | Usman Akinyemi <usmanakinyemi202@gmail.com> | 2025-02-15 21:20:49 +0530 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-02-18 09:05:12 -0800 |
commit | 0a78d61247922f30ebf2ce09025dcaa7bd7e3583 (patch) | |
tree | 52572e28b9fbca5fd2281f6fcd2507210bd79c18 /commit-graph.c | |
parent | cdfd081df6fa42e6cd0da1d978d41b836c1f292b (diff) |
version: refactor get_uname_info()
Some code from "builtin/bugreport.c" uses uname(2) to get system
information.
Let's refactor this code into a new get_uname_info() function, so
that we can reuse it in a following commit.
Mentored-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Usman Akinyemi <usmanakinyemi202@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.c')
0 files changed, 0 insertions, 0 deletions