Commits
- Commit:
d639f28bed6c07bf171d552905c55829117715da
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix uninitialised fildes variables in libexec helpers
Reviewed and uncovered as part of the diff in the forthcoming commit
(pathlist API refactor).
ok stsp@
- Commit:
53d03f970a594ed205147f847c825c9b4752c3fd
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got: expand diffstat -d option to 'got diff'
Like got log -d, add the switch to 'got diff' to display a diffstat of changes;
as per stsp's suggestion, we always include diff output with the diffstat.
Disabled in gotwebd (for now :) Includes tweaks from op@
ok stsp@
- Commit:
c9aa63fb7de34f4f45408d8ec6237b5a4a207a12
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tweak a gotd regress test to cover incremental 'got fetch'
Previously the gotd tests were only running fresh clones.
- Commit:
ab9f7b873117a319d9223952c7911c1526173410
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix tempfile handling in gotd's got_object_raw_open()
There was a bug where we reused a file stored in *outfd from a
previous call, resulting in a raw object backed by a file but
with tempfile_idx -1. This then caused bad confusion during
deltification. Fix this by passing tempfd to read_raw() functions
and only setting *outfd in case it is actually required, and
returning tempfd to the repository tempfile pool otherwise.
ok tracey
- Commit:
145ca42a7aa702ad5d38fd066763f0189ce434af
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: templateify gotweb_render_tag
ok tracey@
- Commit:
617497a67c0b438c75afefd4fd599a8f88c32bcd
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: templateify gotweb_render_tags
ok tracey@
- Commit:
ebe6ec920b98ddf1b63687d78857f37af34b691f
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
use a caller-specified size limit for mapped files in got_object_raw_alloc()
Without this we end up being confused about whether a raw object has
been mapped into memory, leading to crashes.
ok op@
- Commit:
1eda26823a5463fc2e82f0a05f454faf2ac46e65
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
adjust a misleading error message in got_object_raw_alloc()
ok op@
- Commit:
b296ac1cb14cdee2765af4e41089c118062279d1
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix *size not being passed out of read_packed_object_raw()
ok op@
- Commit:
aa7a1117140efb46d2d3c82fa22087ea65ec6697
- From:
- Mikhail <mp39590@gmail.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: add mutt-like =/* keymaps as home/end aliases
Also, separate g/G from home/end in the manual and runtime help text as only
the former accept a prefixed count modifier. Based on initial diff from Mikhail.
ok stsp@
- 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.)