summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff_initial..side
diff options
context:
space:
mode:
authorDerrick Stolee <stolee@gmail.com>2026-05-19 16:24:48 +0000
committerJunio C Hamano <gitster@pobox.com>2026-05-20 11:33:23 +0900
commit4e5b2a37956f40acd016f078b1e9a883e97a9f27 (patch)
treea8d270bc0de9d486fe5588a72acf9566c46516bb /t/t4013/diff.diff_initial..side
parent6e8d538aab8fe4dd07ba9fb87b5c7edcfa5706ad (diff)
t5516: fix test order flakiness
The 'fetch follows tags by default' test sorts using 'sort -k 4', but for-each-ref output only has 3 columns. This relies on sort treating records with fewer fields as having an empty fourth field, which may produce unstable results depending on locale. This appears to be an accident added in 3f763ddf28 (fetch: set remote/HEAD if it does not exist, 2024-11-22). Use 'sort -k 3' to match the actual number of columns in the output. Reviewed-by: Matthew John Cheetham <mjcheetham@outlook.com> Signed-off-by: Derrick Stolee <stolee@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff_initial..side')
0 files changed, 0 insertions, 0 deletions