I decided to play around with Pijul this evening and was going through the getting started document.
So I created a new Rust project called
pijul-test and moved onto adding the files. But something caught me by surprise. When I ran this action:
pijul add Cargo.toml src/
src as a file as you can see below:
λ ~/Developer/pijul-test/ pijul status On branch master Changes not yet recorded: (use "pijul record ..." to record a new patch) new file: Cargo.toml new file: src Untracked files: (use "pijul add <file>..." to track them) src/main.rs
I usually do do
git add directory to add everything under
directory and I thought it would be the same with Pijul. So now I’m curious.
- Why did Pijul assume it was a file?
- Why didn’t Pijul check that indeed was a file?
- How is
srcrepresented in the patch now that I recorded it?
Looking forward to getting some answers and looking forward, even more, to playing around with Pijul and learning about it