Commit Briefs

Thomas Adam

implement 'got diff -c' for diffing commits with optional filtering by path

Need for filtering by path sugggested by kn@ ok naddy@


Thomas Adam

display the requested object type when an object could not be found

ok millert@



Thomas Adam

make got_repo_match_object_id() filter tags by the requested object type

Potentially this function could return objects of a type that was not requested. Problem found by code inspection. This change does not affect any of our existing tests.



Thomas Adam

Ignore tags files

OK stsp


Thomas Adam

portable: release 0.61 (tags/0.61)

Update configure.ac and CHANGELOG for 0.61


Thomas Adam

gotadmin: include gotadmin.1 in dist

When building the dist tarball, include its man page.


Thomas Adam

portable: remove extraneous strerror_r check

On a __GLIBC__ system, we need to use __xpg_strerror_r() -- this is already checked for, so simply one of these checks to reduce code changes from upstream.


Thomas Adam

regress: provide a sed wrapper

In order to portably handle the difference in how 'sed -i' works between *BSD and Linux, provide a wrapper to invoke the underying system sed(1) based on which OSTYPE is in use.


Thomas Adam

regress: use gdate/gln if on *BSD

To minimise the amount of churn between the difference in date(1) and ln(n) semantics, use gdate and gln from coreutils.


Thomas Adam

regress: enable tests

Enable the compilation and execution of the tests under regress/


Thomas Adam

portable: propagate AM_CFLAGS/AM_CPPFLAGS

Allow for warnings via AM_CFLAGS in a common Makefile, and let those values propagate to all other Makefiles. Currently the more useful checks are disabled until upstream changes are made to reduce warnings. While here, also fix the version string to remove quotes.



Thomas Adam

add test for merge result when lines are inserted at the top of a file

Based on a patch by Omar Polo



Thomas Adam

add support for multiple path arguments to 'got diff'

positive feedback from Omar and kn ok kn




Thomas Adam

Ignore tags files

OK stsp


Thomas Adam

Provide lib/Makefile to enable tags file generation

The root Makefile does not hook into lib/ via <bsd.subdir.mk> since it is not a program itself and thus gets included by all others. This means `make tags` skips lib/ and `make -C lib/ tags` does not know what to do; provide a minimal <bsd.lib.mk> stub and hook it up just for the "tags" such that *all* source is browsable via tags. See /usr/share/mk/bsd.README for details. Feedback stsp tb OK tb


Thomas Adam

plug memory leaks in got-fetch-pack and got-send-pack

ok naddy


Thomas Adam

let 'got fetch' send all references to the server to avoid redundant downloads

Problem reported by naddy. ok naddy


Thomas Adam

Fix "mandoc -T lint -W style" nits


Thomas Adam

Document command aliases in tmux(1) style, add tags for navigation

Complete 95f394e8917def2c11ce292b3a8f804d261b1d12; reminder to look at gotadmin(1) from stsp, thanks.