Commit Briefs

8df4cb78aa Thomas Adam

Release 0.68 (tags/0.68)

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


569e9b0bff Thomas Adam

portable: remove system headers included portably

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


df9870925e Thomas Adam

bump version number


12b1441886 Thomas Adam

CHANGES for 0.68



cc047ef025 Thomas Adam

sync dist file list


d7c94b2be0 Thomas Adam

fix free() on uninitialized variable upon error in gw_output_file_blame()

ok op@



ff7f34d35c Thomas Adam

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


afbf14b354 Thomas Adam

reuse apply_hunk in patch_file when creating a file




78a0087665 Thomas Adam

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.






be53ddb1cf Thomas Adam

got patch: prefer new name if not /dev/null and not a git-style diff

This fixes a common issue when for e.g. generating patches with $ diff -u foo.orig foo where 'got patch' failed because 'foo.orig' has an 'unexpected status'. prodded by naddy, ok stsp


d224ad3311 Thomas Adam

const-ify string table


814624e72d Thomas Adam

move got_patch file status checking in worktree.c

check_file_status used got_worktree_status to check if the file was in an allowed state, but it's wrong since the callback is not invoked on unchanged files. While here also fix a relate bug: unlink(newpath) is in the wrong spot and ends up removing files even when it shouldn't, so move it early in the got_worktree_schedule_* error handling. Finally, update the appropriate test case. It was passing before because got_worktree_schedule_add returned GOT_ERR_FILE_STATUS, not because check_file_status failed. ok stsp@


db847d2c82 Thomas Adam

explicitly include <unistd.h> for close(2)


0349119bc8 Thomas Adam

move got_errors[] table into a single compilation unit (error.c)

ok stsp


85ff1015c5 Thomas Adam

rm unused vars


fa8129f71e Thomas Adam

const-ify tables

ok thomas_adam millert


17d6446ae8 Thomas Adam

style