Commits


changes for 0.53


in got.1, add -I to the synopsis line of the status command


sync dist file list


new -I option for 'got status' to show files which match an ignore pattern


packing requires unveiling the repository read/write; found by semarie


implement gotadmin pack, indexpack, and listpack commands


initial port of git9's pack file creation code to gameoftrees; thank you, Ori!


forward-declare struct got_packidx to make got_lib_pack.h self-contained


expose got_pack_parse_ref_delta() for library-internal use This will be needed by a future 'gotadmin listpack' command.


expose got_packidx_get_object_offset() for library-internal use This will be needed by a future 'gotadmin listpack' command.


fix raw object size sent by got-read-pack


fix bogus 'permission denied' error when a file at work tree root is removed ok naddy


mark got_pack_stop_privsep_child() static; it is only used inside pack.c


fix a leaky ibuf. ok stsp


expose the reflist_insert() helper function as got_reflist_insert() This will be needed by 'gotadmin pack'.


fix deltas with trailing data that is smaller than the minimum chunk size


allow the delta base file to lose its header between deltify_init and deltify This simplifies pack file creation. A delta base could be read from a loose object, a packfile, or it might be available in a temporary file. All these cases can now be handled the same way. We may need to open, close, and re-open a given delta base multiple times while packing.


check for errors from emitdelta() in got_deltify()


handle fseek in got_deltify() instead of in stretchblk(); simplifies the code


raw object size should not include the length of the object's header This way, the size of a raw object is the same regardless of whether the object was found in a loose object file or in a pack file.


introduce got_object_id_queue_copy() This will be required by a future 'gotadmin pack' command.


add a user data pointer to struct got_object_qid This will be required by a future 'gotadmin pack' command.


Allow for skipping the base object header in got_deltify().


typo


document how profiling works