Commit Briefs

30789230c6 Thomas Adam

sync files from diff.git 1edd9c2b609adfa7ed93dbd839b7d683e695feaa

Brings in improved accuracy of function prototypes in hunk headers.



ba5cc5fa6d Thomas Adam

backout Make & command in tog's log view display "searching..."

The limit feature is more than just a search operation, tog's man page has been updated accordingly.



1c4defbb8d Thomas Adam

remove tog limit feature from TODO list


d0d3e7a4b8 Thomas Adam

tweak view name display in the help screen for clarity



d2c172746f Thomas Adam

Make & command in tog's log view display "searching..." while loading commits.

This command acts like a search operation, and the display should reflect that.


6d054bb9e3 Thomas Adam

show file mode for new added files in work tree diffs

Make work tree diffs of local changes on disk display the file mode of new added files like other versions of `got diff` currently do. ok stsp@


790ca73c10 Thomas Adam

gotwebd: drop needless NULL check

We can assume that the querystring was initialized when we reach gotweb_render_header. ok tracey@


37e766f45c Thomas Adam

ensure got patch respects x-bit perms for new files

Reported by stsp on IRC: got patch failed to set the x-bit for a new file despite got diff recording mode 755. Parse got and git diffs for this data and set file modes accordingly. Tweaked with hint from op. ok stsp@



e9424ba1b8 Thomas Adam

add gotadmin init -b <branch> to specify repo head ref

Similar to `git init -b`. Includes a change to `got import` behaviour such that "main" is no longer hardcoded by default; instead, we import to the branch resolved via the repository's HEAD reference unless `got import -b` is used, and only if HEAD cannot be resolved to a branch do we fallback to "main". includes fix plus ok from stsp@


850265be5c Thomas Adam

fix indentation; from jamsek


06ff88bb4f Thomas Adam

make exiting tog's help screen easier for new users

ok jamsek


a7dd23ad25 Thomas Adam

tog: open help in fullscreen irrespective of view configuration

Prompted by a suggestion from stsp to make the help view distinct rather than follow the default behaviour of established views. Occupying the fullscreen seems to be a somewhat established convention for TUI apps. ok stsp@


5ec66d177d Thomas Adam

portable: maintscripts: fix command use

Don't pass '-v' to the command buitin.


6f6c25d65e Thomas Adam

drop unconventional got_object_commit_dup() routine

Replace with got_object_commit_retain() to increment commit object reference counter. suggested by and ok stsp@


30e77f6ad1 Thomas Adam

tog: don't embed utf8 glyphs into tog.c source code

Reported by stsp: Embedded utf8 precludes developers running C locales from browsing the code. Fix was suggested by stsp with hints from the tmux(1) codebase. ok stsp@


2a7d3cd7fd Thomas Adam

tog: refactor search setup into tog_view function pointers

Suggested by stsp. While here, add declarations for new help view routines. ok stsp@


fc2737d5cd Thomas Adam

tog: implement runtime help accessible via H,F1 keymaps

Original idea inspired from discussion with tb, tobhe, and stsp at g2k22: display view-specific help, with option to toggle display of full key map reference when {H,F1} is pressed again inside the help view. Includes improvements suggested by stsp. ok stsp@


28902b3e28 Thomas Adam

gotwebd.conf.5: fix double `the'


7f60c0f73a Thomas Adam

Set next version


4d34af8de4 Thomas Adam

Release 0.75.1 (tags/0.75.1)


46384c6e76 Thomas Adam

portable: remove sys/tree.h compat inclusion

libbsd as a library was created some years back to pull together BSD-specific functionality to be used on non-BSD systems. When it was in its infancy, and not being widely adopted across non-BSD systems, there was often a need to carry around compat versions of sys/{queue,tree}.h This is no longer the case -- and the compat code for this has never worked on systems which lacked a compatible sys/tree.h header anyway, so remove this, and let the user know that libbsd is needed. A few people have mentioned this to me.