Fixed git_add_patch_shortcuts
This commit is contained in:
@@ -114,9 +114,9 @@ git_silent_add_patch_shortcuts() {
|
|||||||
if [ -n "$1" ]; then
|
if [ -n "$1" ]; then
|
||||||
# Expand args and process resulting set of files.
|
# Expand args and process resulting set of files.
|
||||||
IFS=$'\n'
|
IFS=$'\n'
|
||||||
eval for file in $(git_expand_args "$@")\; do\
|
for file in $(git_expand_args "$@"); do
|
||||||
git add -p "\$file"\;\
|
git add -p "$file"
|
||||||
echo -e "# add '\$file'"\;\
|
echo -e "# add '$file'"
|
||||||
done
|
done
|
||||||
unset IFS
|
unset IFS
|
||||||
echo "#"
|
echo "#"
|
||||||
|
|||||||
Reference in New Issue
Block a user