I would consider adding -w to the switches as to not bloat the diff from claude. People can configure the line endings for when the actual saving of the file happens in the own setup.
I made the following small change locally.
(switches ("-u -w" "--label" ,old-file-path "--label" ,(or new-file-path old-file-path)))
Even better would be to expose this as something the user could customize in a variable.
I would consider adding -w to the switches as to not bloat the diff from claude. People can configure the line endings for when the actual saving of the file happens in the own setup.
I made the following small change locally.
Even better would be to expose this as something the user could customize in a variable.