Commits
- Commit:
a2f760e6003aa707739f7a5f1cef32af2dffd6c2
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
util/got-build-regress.sh: simplify lockfile cleanup
trap on EXIT too so the lockfile is deleted on quit (both successful and
not.) While here simplify a cd too.
ok stsp@
- Commit:
b891075b5ec041573f6aa9a1e25dbee0e2ec8c7e
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
util/got-build-regress.sh: switch from getopt(1) to getopts
ok stsp@
- Commit:
e1560d23e257307be9fac54db22b01cb9eebb3b9
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
show gotd process names in stderr debug logs, too; it is getting too confusing
- Commit:
fe6a8988670d1e54478187f93e22a1980f5926e4
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
call realpath() during early startup in gotd's parse.y
This ensures that all repositories exist when the process is first started.
It will also help to avoid an "rpath" pledge promise in a future gotd which
uses a separate session process, by avoiding realpath() calls while starting
new processes.
- Commit:
1487ee74528d56ab29c4bda3f1812fe857abeb18
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
do not treat nonexistent repositories as a fatal error in gotd
- Commit:
60db6857a08abeed5f82dd212d63734a5685ab94
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix 'got rebase' not detecting an out-of-date work tree in some cases
ok jamsek, op
- Commit:
8bcebf69377a87cb57378dd59d494c7338b0d399
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
in got.1, update list of commands which refuse to run during rebase/histedit
- Commit:
48830929110975bbf1aeab8dff472d33f50fa548
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
show from: and via: headers on consecutive lines in 'got log' and 'tog log'
ok jamsek
- Commit:
f3ad4b0a2ba1fd3f0c3f54b3f506585b0570d1b1
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add -d switch to log usage and sort lexicographically
patch by Josiah Frentsos
- Commit:
8d5e51600db687f15110fd0b7c1b044fe8c33b90
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
regress: replace echo \n with printf and heredoc
echo \n is not really portable. Not that it matters since the regress
suite is already using non-POSIX features (like `local'). However, it's
the only place using it and easy to fix.
ok jamsek
- Commit:
964791552c389e02f2af2bca06d3cd0fa0d0a187
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add regress for new got log -d switch
ok stsp@
- Commit:
a6d62598bfa3a98f9eea7d49ea7d809be9bdfcdf
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
plug leak of got_diffreg_result on output failure
Move 'done' labels up so that if got_diffreg_output() fails we still call
got_diffreg_result_free() instead of jumping straight over it.
ok + fix from stsp@
- Commit:
772fcad51433f2ecbfaea38a78e02d07ed1eef7f
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got: implement diffstat for got log and tog diff view
Add new got_diff_blob_cb() implementation to compute added/removed line metrics
for a given diff. This enables displaying a diffstat with 'got log -d'. As per
suggestion from stsp, change tog diff view to display the diffstat by default.
ok stsp@
- Commit:
ad422caf47dffe852110c06c4c625af63570cfe6
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
backout 169b163113a6db9878c9166aa05fbd30d05eb832
pushed by mistake, wasn't reviewed.
- Commit:
d2b972f8ab052a5830a5ff367d45b60b8471e880
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
template.7: fix double spaces
diff from Josiah Frentsos and clue from tb@, thanks! (I can't read.)
- Commit:
ff945768827d2333e59ebc0bc6897f00a177e8e3
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
template: bump date in manpages
- Commit:
e9c42ba808f95a7d1fa7c8a8eea2df5fc4d48de0
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
template.7: Add a missing \& where needed
based on a diff by Josiah Frentsos, thanks!
- Commit:
4ed38987e57d37e8d5d040904dc4972e921aa1f6
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
template.7: Use -width instead of -indent
diff from Josiah Frentsos, thanks!
- Commit:
d0b178c55140fde58e9681b47a7ff8c6a2b13435
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
template.7: use An instead of Ar in AUTHORS
diff from Josiah Frentsos, thanks!
- Commit:
bf92bf9b79164adf72c2eeae2f885c2e5266ef1d
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
template.1: Use -std with Ex
diff from Josiah Frentsos, thanks!
- Commit:
5d860bcebedf3a8db88af8374918aca891bbb222
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: templateify gotweb_render_diff
To avoid calling functions from got_operations.c directly from a
template (which would hide the error), change got_output_repo_diff into
got_open_diff_for_output that returns a file with the diff in it, to be
then rendered by the template. got_gotweb_flushfile needs to be exposed
then.
It also bundles a smaller change: the `label' argument of
got_repo_match_object_id is optional and not used, so just pass NULL
there.
- Commit:
f600ad7605fa8b629252e6b11daae241ebe0d135
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: OpenBSD support
Despite -portable existing to make the codebase compile on platforms
other than OpenBSD, there's nothing wrong with making -portable still
compile on that platform as well.
- Commit:
947fe78cd6a2ebfbdc0d5b3ddb5d8094d178b784
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: configure.ac: fix libpanelw detection
When not using pkg-config on those systems where it isn't installed,
libpanelw should be checked within ncursesw as well -- such is the case
on OpenBSD for example.
- Commit:
171ba12ab63aed9e931bbea0d93d1755d4848e1b
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: sha1.h
This is included portably.
- Commit:
9a7a36e8b48524efcdeaf7deec26c7fb68b64b4d
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
template: specify which C loop