summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff_initial..side
diff options
context:
space:
mode:
authorSZEDER Gábor <szeder.dev@gmail.com>2026-04-21 21:21:32 +0200
committerJunio C Hamano <gitster@pobox.com>2026-04-22 16:25:23 -0700
commit890229b3f3e635ff4dd9e9e7a3d95a4ac6e5e173 (patch)
tree2b6cb6e5b6fdf41ed1310d0d89e863665d32aea7 /t/t4013/diff.diff_initial..side
parent67ad42147a7acc2af6074753ebd03d904476118f (diff)
t6112: avoid tilde expansion
e987df5fe6 (list-objects-filter: implement composite filters, 2019-06-27) introduced a test to "t6112-rev-list-filters-objects.sh" that checks the output of a Git command with the following commands: grep ~$omitted_1 actual && grep ~$omitted_2 actual && grep ~$omitted_3 actual && Since the leading tilde in the pattern is not quoted/escaped, it is subject to tilde expansion. So if the system has a user whose username happens to be "$omitted_1", then "grep" would look for that user's home directory. Quote those words starting with a tilde to avoid this. Signed-off-by: SZEDER Gábor <szeder.dev@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