Commit Briefs

Stefan Sperling

CHANGES for 0.61 (tags/0.61)


Stefan Sperling

sync dist file list




Stefan Sperling

explicitly set the default branch name after 'git init' in regress tests

We need to do this because newer versions of Git support an arbitrary default branch name which can be set by users. We don't want tests to fail when this option is used. pointed out by Thomas Adam


Christian Weisgerber

pull in a type fix from the OpenBSD parse.y template

Original commit message by deraadt: (unsigned) means (unsigned int) which on ptrdiff_t or size_t or other larger types really is a range reduction... Almost any cast to (unsigned) is a bug.


Christian Weisgerber

fix unsigned/signed char mismatch in parse.y








Stefan Sperling

fix 'got fetch' downloading too many objects in some cases

Always announce all local references to the server when fetching changes. We used to do this only in mirror mode. In regular mode only refs/tags and refs/remotes/origin were announced, which could result in unnecessary downloads if relevant objects exist in refs/heads or elsewhere.


Christian Weisgerber

got_sha1_digest_to_str() writes to char *

ok stsp


Christian Weisgerber

fix unsigned/signed char mismatch in parse.y

ok stsp


Christian Weisgerber

match the unsigned char type used by the zlib interface

ok stsp


Stefan Sperling

show commit progress output when 'got merge -c' is used

Otherwise no progress output is shown at all with this command. Commit progress output will also display any additional changes which resulted from conflict resolution. ok millert@


Christian Weisgerber

garbage-collect unused "dist" target from subdirectory Makefiles

ok stsp




Stefan Sperling

for portability, handle errno variations upon open(2) failure with O_NOFOLLOW

Problem pointed out by naddy for FreeBSD -portable. Discussed with millert, thomas adam, and naddy.


Stefan Sperling

allow bad symlinks to survive a merge

Commands which perform merges will now install bad symlinks as symlinks in the work tree, instead of creating them as regular files. This means bad symlinks committed with 'got commit -S' (or Git) will be preserved. The decision to introduce a bad symlink is done at commit-time and merges should not forcefully reverse this decision. The cherrypick and backout commands require a manual commit step, and a merge result with bad symlinks will require use of 'got commit -S'. Additional testing by thomas adam


Christian Weisgerber

match printf specifiers and (cast) types for portability

ok stsp


Stefan Sperling

whitespace fix from Omar Polo