Commits


pass an already open commit object to the blame callback ok op@


stop relying on commit cache for good performance of got_object_id_by_path() Instead of internally opening and closing the same commit object over and over again, require callers to pass an open commit object in. Avoids an inherent dependency on the commit object cache for reasonable performance. ok op@


rename variables in got_path_strip() for clarity; ok op@


got patch: allow to strip path components Move some bits from the libexec helper to the main process so we know if the patch was generated by git or not and finally document the automatic stripping of a/ and b/ prefixes added by git-diff(1). ok stsp@


use test(1) -eq and -ne to compare integers, and reduce quoting This brings the rest of the regression test scripts in line with patch.sh.


remove trailing whitespaces


plug a memory leak in list_refs(), ok stsp@


plug a memory leak in got_fetch_pack(); patch by Mikhail


don't include linux/prctl.h On some libc implementations (at least musl) linux/prctl.h conflicts with sys/prctl.h as they both define the same structs. Fixes the build on alpine linux; reported by omni on IRC, thanks! ok thomas


Release 0.68.1 Update CHANGELOG and configure.ac for the 0.68.1 release


portable: patch: remove unused code Remove some code which was in a previous revision but isn't needed any more. It's unclear how this crept back in as there were no conflicts around this.


Release 0.68 Update CHANGELOG and configure.ac for the -portable 0.68 release.


portable: remove system headers included portably Remove direct included system headers which are included portably at ./configure time.


bump version number


CHANGES for 0.68


fgetc() returns int, not char; fixes -Werror build on armv7


sync dist file list


fix free() on uninitialized variable upon error in gw_output_file_blame() ok op@


tweak wording to make it clearer where the mentioned -u option applies


got patch: handle "\ No newline at end of file"


reuse apply_hunk in patch_file when creating a file


mention that 'got patch' is compatible with 'cvs diff -u' output


mention that 'got patch' can read diffs produced by Git, to avoid any doubt


fix pack progress object counter for loose objects Move pack progres object accounting to a single place. This makes it easier to account for the case were only loose objects are packed. A wrong amount of objects was reported before when packing loose ones.


in pack progress output, remove excluded objects from 'found' objects counter