Thread (1 message) 1 message, 1 author, 2025-01-17

Re: [PATCH v2 3/6] version: extend get_uname_info() to hide system details

From: Junio C Hamano <hidden>
Date: 2025-01-17 18:27:24

Usman Akinyemi [off-list ref] writes:
Currently, get_uname_info() function provides the full OS information.
In a follwing commit, we will need it to provide only the OS name.

Let's extend it to accept a "full" flag that makes it switch between
providing full OS information and providing only the OS name.

We may need to refactor this function in the future if an
`osVersion.format` is added.

Mentored-by: Christian Couder [off-list ref]
Signed-off-by: Usman Akinyemi <redacted>
---
Nice that this is made into a separate commit from the previous step.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help