Commits
- Commit:
c87842d5aed77e4f15bab3980e8cb22f18e954f8
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
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@
- Commit:
0e678fc8b5ec094de9fab7b1a3ab6886ecb2c95a
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: drop needless NULL check
We can assume that the querystring was initialized when we reach
gotweb_render_header. ok tracey@
- Commit:
611e5fc2074d428e17f920dc595496af4dd0dc77
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
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@
- Commit:
0a706d22c0eedf209fc5cc5821872ac9b47ecfd4
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add regression test which covers fast-forward rebase + path-prefix
- Commit:
6f04a73d17761092a3a7ab07632cd1a89d4bfd21
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
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@
- Commit:
12c07a25b65fee8e7bca0ed2aa35f76e446d1241
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix indentation; from jamsek
- Commit:
16a2d4f0fd14165dfcd85b3a468295194a7480e8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make exiting tog's help screen easier for new users
ok jamsek
- Commit:
94274a8f75da950b87727bc93439723aac3ea64c
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
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@
- Commit:
34a842a42b1cd020ca656445c0b65e67a97bff1a
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
drop unconventional got_object_commit_dup() routine
Replace with got_object_commit_retain() to increment commit object
reference counter.
suggested by and ok stsp@
- Commit:
1681ba873c6a910d6acea91780ed16374329848b
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
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@
- Commit:
eaf2c13e05bf70e2d0819292768dad7bbadaa8f3
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: refactor search setup into tog_view function pointers
Suggested by stsp. While here, add declarations for new help view routines.
ok stsp@
- Commit:
ec2a9698e29a1ee9152c8740cdce9603d84d224d
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
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@
- Commit:
fa61bdcb23187d65bfa426507dac0cae53857d7c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd.conf.5: fix double `the'
- Commit:
f83ada346bec1ad98dda1d8f0ee7e95551ff4780
- From:
- Mikhail <mp39590@gmail.com>
- Via:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: respect current cursor position during log search
ok op@
- Commit:
568eae9578c8babb5be9eea6c85b9e016a6cdb29
- From:
- Mikhail <mp39590@gmail.com>
- Via:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: add new log view limit feature to filter commits
Use the & key map to enter a pattern with which to limit the displayed commits
to those matching the provided pattern; similar to less(1) and mutt's limit
feature. Includes various tweaks from op.
ok plus fixes from op@
- Commit:
d9787ed86ecec0bda7a570181d86c44ba80bd583
- From:
- Omar Polo <op@omarpolo.com>
- Date:
make got_commit_graph_iter_next use caller-provided storage for the id
and adjust the callers. discussed with and ok stsp@
- Commit:
0c6ad1bc25c4e1d95a1173141a757137815ddaa8
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: make headline highlight extend the full view width
In splitscreen mode, make the active view headline highlight extend the full
width of view->ncols. While here, format the tree view header like the blame
view by moving the index to the path line.
suggested by and ok stsp@
- Commit:
f0f62654dd608d01879094d1f491287f0f7029f1
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: extend log view author highlight colour to full field width
ok stsp@
- Commit:
41d6d08ab3f441b8bcef117efcf654e2253bf4e6
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
Xr httpd.conf
- Commit:
7de33ce2bfca4847fc6984135930443461a1c20c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
document gotwebd command line options
- Commit:
7e8fc9b50c3157452382726df908276e6db69ccd
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix documentation of gotwebd.conf default path
- Commit:
0b35d1c0ab442f6492a32167a305b34eb87bf9f7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
bump version number
- Commit:
582843cdb37f9e50b3b0c6a348caee461d4f83c1
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
CHANGES for 0.75
- Commit:
4f0a80ed18c14d32968b403c50ce3e88e917da8f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: fix briefs navigation broken in 4a9629420
got_get_repo_commits iterates over the commits and build a queue for
later display. My previous memleak fix moved the TAILQ_INSERT_TAIL
*before* the logic to exit the loop and so it broke the pagination.
This fixes it by delaying the insertion into the queue, but also by
moving the check for the "previous" button after we've opened the
commit.
ok tracey
- Commit:
8d02314fcaebb323c9ca3b102f8a085d66ea4633
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: percent-encode generated URLs
This adds a new helper function `gotweb_link' that outputs an HTML link
with the parameter correctly escaped.
ok stsp@