diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-01-10 22:33:09 +0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-01-10 22:33:09 +0400 |
commit | f06a5e607dde266884db4a99b70fbee09d5c5efc (patch) | |
tree | 76f4f796e45646182ffce1146b6a1017fcfd7320 /builtin | |
parent | 4ba46c28471b94de561d00f8b01da79b59527c62 (diff) | |
parent | 9af270e8c2a02afd9a3262a2c9312ee7fefbb7a3 (diff) |
Merge branch 'jk/sha1write-void'
Code clean-up.
* jk/sha1write-void:
do not pretend sha1write returns errors
Diffstat (limited to 'builtin')
-rw-r--r-- | builtin/pack-objects.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/builtin/pack-objects.c b/builtin/pack-objects.c index dfb4d84caa..541667f102 100644 --- a/builtin/pack-objects.c +++ b/builtin/pack-objects.c @@ -737,8 +737,6 @@ static void write_pack_file(void) f = create_tmp_packfile(&pack_tmp_name); offset = write_pack_header(f, nr_remaining); - if (!offset) - die_errno("unable to write pack header"); nr_written = 0; for (; i < nr_objects; i++) { struct object_entry *e = write_order[i]; |