Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Little things #68

Merged
merged 2 commits into from
Dec 2, 2024
Merged

Little things #68

merged 2 commits into from
Dec 2, 2024

Conversation

mslw
Copy link
Contributor

@mslw mslw commented Nov 29, 2024

This changes two little things - description in commits.

mslw added 2 commits November 29, 2024 19:11
In shell (bash, zsh), backticks are used for command subsititution.

If datalad save gets a message "add `one-to-many` remake method", the
shell will try the substitution, print (using zsh as example): "zsh:
command not found: one-to-many", and the resulting commit message will
be "add  remake method".

Hardly a big deal but let's replace them with single quotes.

https://pubs.opengroup.org/onlinepubs/9799919799/utilities/V3_chap02.html#tag_19_06_03
https://zsh.sourceforge.io/Doc/Release/Expansion.html#Command-Substitution
These can appear when running code installed in editable mode (pip
install -e); given that we already exclude things like .swp (vim swap
file?), we can also exclude those (fwiw, datalad-next excludes both).
@christian-monch
Copy link
Contributor

Great, thanks a lot @mslw

@christian-monch christian-monch merged commit 98ab25e into datalad:main Dec 2, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants