Using tabs consistently
Robert Perce
pass at rperce.net
Sun Nov 9 15:44:05 UTC 2025
bash heredocs can *only* be tab-indented, syntactically (if you don't want the indentation to be part of the string), so it's unavoidable. Use editor settings that visually display tabs and that do not mangle existing spacing.
On Sun, Nov 9, 2025, at 09:15, jman wrote:
> Hello everyone,
>
> the file ./src/passwordstore.sh uses tabs instead of spaces but not
> consistently. The last HEREDOC
> in function `cmd_usage()` mixes tabs and spaces for formatting reasons.
> This mix makes complicated
> for me formatting patches, I have to manually discard hunks before
> submitting the patch.
>
> What's your workflow to avoid this manual mangling when submitting patches here?
>
> Thanks!
>
> Regards,
More information about the Password-Store
mailing list