You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In v1.2.0, I added support for staging files with spaces. Most of them are handled through bash array with something like ${array[@]} to respect spaces between indexes. All of them works very well with git commands, however, for some reason, git diff just doesn't like ${array[@]} and this breaks the preview for dotbare fcheckout -s If I do try it I get an error. Well if I do use ${array[*]}, git diff is happy, however, preview for files containing spaces would break due to the asterisk does not respect spaces any more.
Note: This doesn't affect any actual functionalities of dotbare, it's just preview that's breaking.
I'm quite stuck on this, although this won't affect any functionalities and it's unlikely for anyone to experience this, I'll just leave this one here.
In v1.2.0, I added support for staging files with spaces. Most of them are handled through bash array with something like
${array[@]}
to respect spaces between indexes. All of them works very well with git commands, however, for some reason,git diff
just doesn't like${array[@]}
and this breaks the preview fordotbare fcheckout -s
If I do try it I get an error. Well if I do use${array[*]}
,git diff
is happy, however, preview for files containing spaces would break due to the asterisk does not respect spaces any more.Note: This doesn't affect any actual functionalities of
dotbare
, it's just preview that's breaking.I'm quite stuck on this, although this won't affect any functionalities and it's unlikely for anyone to experience this, I'll just leave this one here.
Relevant lines:
dotbare/helper/git_query.sh
Lines 32 to 35 in 3e5838f
This works for normal files but not files with spaces. If I do change it to
${files[@]}
, none of them will work.The text was updated successfully, but these errors were encountered: