summaryrefslogtreecommitdiff
path: root/pack-write.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-07-31 04:34:32 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-07-31 04:34:32 (GMT)
commitd61aed07bd0c61420879f42b4b961785ed1f742a (patch)
tree15db78208cd3165188688b8eb82609fa168adffd /pack-write.c
parent06df6b5fd92cc7dd4650d2db9f642ce504b56eb8 (diff)
parente2bfa50ac3bfc697f3caa623213acbf591cdfa8e (diff)
downloadgit-d61aed07bd0c61420879f42b4b961785ed1f742a.zip
git-d61aed07bd0c61420879f42b4b961785ed1f742a.tar.gz
git-d61aed07bd0c61420879f42b4b961785ed1f742a.tar.bz2
Merge branch 'jb/doc-packfile-name' into master
Doc update. * jb/doc-packfile-name: pack-write/docs: update regarding pack naming
Diffstat (limited to 'pack-write.c')
-rw-r--r--pack-write.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/pack-write.c b/pack-write.c
index f0017be..685d327 100644
--- a/pack-write.c
+++ b/pack-write.c
@@ -38,9 +38,8 @@ static int need_large_offset(off_t offset, const struct pack_idx_option *opts)
}
/*
- * On entry *sha1 contains the pack content SHA1 hash, on exit it is
- * the SHA1 hash of sorted object names. The objects array passed in
- * will be sorted by SHA1 on exit.
+ * The *sha1 contains the pack content SHA1 hash.
+ * The objects array passed in will be sorted by SHA1 on exit.
*/
const char *write_idx_file(const char *index_name, struct pack_idx_entry **objects,
int nr_objects, const struct pack_idx_option *opts,