sort and de-duplicate work tree path command line arguments
commitf1417e9f1c817d4e11dba207cf39ae12ffda2138
authorStefan Sperling <stsp@stsp.name>
Mon, 11 Oct 2021 18:38:33 +0000 (11 18:38 +0000)
committerThomas Adam <thomas@xteddy.org>
Tue, 12 Oct 2021 20:02:46 +0000 (12 21:02 +0100)
tree33b305641569adfeb789cb0c29ecef2651f5f4fb
parentb6c8e5e0edc57f309ae866114527e614ad0cd76d
sort and de-duplicate work tree path command line arguments

This is important in cases like 'got diff file.txt file.txt' which
should only show the diff for file.txt once.

suggested by kn@
got/got.c
regress/cmdline/add.sh
regress/cmdline/diff.sh
regress/cmdline/revert.sh
regress/cmdline/rm.sh
regress/cmdline/status.sh
regress/cmdline/update.sh