aboutsummaryrefslogtreecommitdiff
path: root/libs/git
diff options
context:
space:
mode:
Diffstat (limited to 'libs/git')
-rwxr-xr-xlibs/git10
1 files changed, 2 insertions, 8 deletions
diff --git a/libs/git b/libs/git
index b5b2ffdb..429d4783 100755
--- a/libs/git
+++ b/libs/git
@@ -361,18 +361,12 @@ git_project_prepare_blobs() {
shift
local repository_path=$(git_project_repository_path "$repository")
- local blobs_path=$(project_blobs_path "$project" "$@")
local blob
- if ! [[ -f "$blobs_path" ]]
- then
- return
- fi
-
- while read blob
+ while read -r blob
do
git_remove "$repository_path" "$blob"
- done < "$blobs_path"
+ done < <(project_blobs "$project" "$@")
if ! git_diff_staged_check "$repository_path"
then