The sound distributed version control system

#480 [UNTRACKED] is feature implemented?

Closed on July 21, 2021
tankf33der on July 13, 2021

Why --untracked skiped file b?

$ pijul init p1
$ cd p1
$ touch a b
$ pijul add a
$ pijul record -am"." a
Hash: 2FQRU222XLWN3HNY7DQSOFTTEOAC3N5FITL76D66OVJOV2UXBQMQC
$ pi diff --untracked
$
pmeunier on July 13, 2021

Not quite yet, it’s just a way to improve the VSCode extension at the moment.

pmeunier on July 13, 2021

But this discussion must stay open, since I do want to implement it soon.

pmeunier added a change on July 21, 2021
BKF5KRLHEQSCEPDSP3H4PAUF4SXZTF4DQKTJI7IBRSRYXD7GWBTAC
main
tankf33der on July 21, 2021

Did not help, the same zero output for b file as untracked.

tankf33der on July 21, 2021

Untracked files printed only when tracked files modified.

Also remove extra space between U and b.

$ echo "a" >> a
$ pijul diff --short
M a
U  b
$ pijul diff --untracked
b
tankf33der on July 21, 2021

update json output for untracked files too.

pmeunier on July 21, 2021

Pushed to main. The json output is different, I believe we want two separate commands, since the cost of these two commands could be very different.

pmeunier added a change on July 21, 2021
V6J6DTJCGVYSL5W7NVSRP5ROIUWTMZW2MBYO7UBZFCUEJQO3ADWQC
main
tankf33der on July 21, 2021

Let it be.

tankf33der closed this discussion on July 21, 2021