aboutsummaryrefslogtreecommitdiffstats
path: root/load-git.c
diff options
context:
space:
mode:
Diffstat (limited to 'load-git.c')
-rw-r--r--load-git.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/load-git.c b/load-git.c
index 3c593bb4c..39dab4367 100644
--- a/load-git.c
+++ b/load-git.c
@@ -1518,9 +1518,9 @@ static int parse_picture_entry(git_repository *repo, const git_tree_entry *entry
pic = alloc_picture();
pic->offset.seconds = offset;
- dive_add_picture(active_dive, pic);
for_each_line(blob, picture_parser, pic);
+ dive_add_picture(active_dive, pic);
git_blob_free(blob);
return 0;
}