aboutsummaryrefslogtreecommitdiff
path: root/libs/git
diff options
context:
space:
mode:
authorSwift Geek <swiftgeek@gmail.com>2019-04-24 03:40:32 +0000
committerGogs <gogitservice@gmail.com>2019-04-24 03:40:32 +0000
commit92a7d05d90c6c45648820bcea61e725f8c0d2893 (patch)
tree8a7e43d5f8fa2b8119d4a014ebd5d25a8df6bbec /libs/git
parent8d3cd741781cab0d936814170df70f637bfd48b7 (diff)
parentac24b44b0ad54a45d32884c96e537f6b2198307e (diff)
downloadlibrebootfr-92a7d05d90c6c45648820bcea61e725f8c0d2893.tar.gz
librebootfr-92a7d05d90c6c45648820bcea61e725f8c0d2893.zip
Merge branch 'blobs' of and_who/libreboot into master
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