Commit Briefs

6879ba4225 Christian Weisgerber

do not treat the -h and -V flags as errors

When run with the -h or -V option, output the help or version text to stdout and exit with success (0). Only write usage and help information to stderr and exit with error (1) if there is a mistake in the command syntax. tweak and ok stsp


0f84e4996c Stefan Sperling

bump version number


2b451e1aef Stefan Sperling

changes for 0.42 (tags/0.42)


f535bcd446 Stefan Sperling

fix 'bad path' error from 'got clone' by unveiling the repository path again

Problem found by jrick


9814e6a376 Christian Weisgerber

prefer the BSD extension to reset getopt over the GNU one

Sadly there is no portable way to reset getopt(3). BSD: optind = 1; optreset = 1; GNU: optind = 0; ok stsp


1367695b58 Christian Weisgerber

fix potential type mismatches between format specifiers and arguments

Cast printf arguments of type time_t and off_t to long long to match the %lld format specifier on platforms where this might not be the case. In parse.y, switch the number variable to long long because all its interactions are with that type anyway. ok millert stsp


bfa12d5e80 Stefan Sperling

rework got's commit-time log message modification check

Use a new approach for detecting unchanged log messages: Strip comments and leading/trailing empty lines from both the initial content and the modified log message, then compare the result. Do not assume a fixed upper limit for the length of a line. Change suggested and patch tested by jrick typo fix + ok naddy


820059fa2d Stefan Sperling

whitespace fixes (patch by jrick)


b8adfa5529 Stefan Sperling

add "branch" keyword to got.conf which specifies a list of branches to fetch

ok tracey


cad0b9e886 Christian Weisgerber

remove unused #includes


7d6fcfbf56 Stefan Sperling

bump version number


5a7c94c188 Stefan Sperling

CHANGES for 0.41 (tags/0.41)


9f6f394340 Tracey Emery

restore code removed in b5f0780096f443734de8fc503ca92bf737e2a7b2 and complete code so sub directories work in gotweb

This was pointed out by uwerler in IRC. ok stsp



b08a0ccd43 Stefan Sperling

do not pledge 'got integrate' in a PROFILE=1 build

found by jrick on freenode