On 8/20/2019 2:49 PM, René Scharfe wrote:
> Use QSORT_S instead of QSORT, which allows passing the repository
> pointer to the comparison function without using a static variable.
Makes sense.
> -static struct repository *sort_ambiguous_repo;
> -static int sort_ambiguous(const void *a, const void
Use QSORT_S instead of QSORT, which allows passing the repository
pointer to the comparison function without using a static variable.
Signed-off-by: René Scharfe
---
sha1-name.c | 9 +++--
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/sha1-name.c b/sha1-name.c
index 2989e27b7
2 matches
Mail list logo