Commit Briefs

Stefan Sperling

tried_root in got_open_repo is not needed

ok naddy


Stefan Sperling

handle non-const dirname in got_repo_open() and plug a memory leak

ok naddy


Stefan Sperling

properly skip to the end upon error in got_repo_open()

ok naddy


Stefan Sperling

handle non-const dirname(3) in got_path_dirname()

ok naddy


Stefan Sperling

switch to got_path_basename() in cmd_checkout()

ok millert


Stefan Sperling

use got_path_basename() in match_deleted_or_modified_ct()

ok millert


Stefan Sperling

switch to got_path_basename() in alloc_added_blob_tree_entry()

ok millert


Stefan Sperling

switch to got_path_basename in revert_file

ok millert


Stefan Sperling

update got_path_basename() doc string

ok millert


Stefan Sperling

handle non-const basename in got_path_basename()

ok millert


Stefan Sperling

handle non-const basename in resolve_symlink()

ok millert



Christian Weisgerber

accommodate ls -l implementations that print "total 0" in an empty directory

ok stsp


Christian Weisgerber

rewrite argument parsing with the POSIX getopts shell built-in

ok stsp


Christian Weisgerber

suggest aggregated pathnames in find(1) example

ok stsp






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


Stefan Sperling

bump version number


Stefan Sperling

changes for 0.42 (tags/0.42)


Stefan Sperling

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

Problem found by jrick


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


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