Commits
- Commit:
6568f0aa4b5fbbbb938dc9e31e3d6232fb5e6a6e
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: drop regex for line types to colour the diff view
ok stsp@
- Commit:
19305070924df3384e8d0cc9d561b183ffd0bdef
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
avoid allocating too many errors in cmd_info
got_error_path uses get_custom_err to get a statically allocated error
allocated on a buffer that's used a ring. This is nice and simple, but
the drawback is that thees custom errors shouldn't be used "for too
long" because they might get overwritten later.
cmd_info is one offender: change it to store a "simple" error and later
re-use it to construct the per-path error.
OK and tweaks stsp@
- Commit:
5f202665e2b4cbf6f91639324020b3591df7ec6c
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add some TODO items for gotwebd
- Commit:
9f6b5e1c564c7dfaf6868179cea3515d730bf3d5
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tweak tag_test_create to detect the issue fixed in previous commit
- Commit:
021334f93ef590f85da3fa9312fcc519eb6b2d25
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix "got tag" not tagging the work tree's current branch by default
found by jrick
- Commit:
82c78e96f11e4190c3d91f18122df14e30347300
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: keymaps to jump to next/prev file/hunk in the diff
Add () and {} key maps to navigate to the previous and next file or hunk in
the diff. This required changing Got's diff API to collect line type metadata
in addition to the line offsets already produced as prompted by stsp.
ok stsp@
- Commit:
8da526b59d8479dce1543e22fc5073e639d115c8
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
sync files from diff.git 9343b92549173e00690f24756a633423770f56d7
- Commit:
9f849004c3ccccaa18bb815a7a21e13b7606d161
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
make gotwebd start up without a config file
ok tracey
- Commit:
15be8247b968c9b2207351c3d4227835a45acc3c
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
revert previous commit to sync with diff.git changes; it broke the build
../lib/blame.c:344:11: error: implicit declaration of function 'diff_atom_hash_update'
- Commit:
625f17044230c2d7649bacd57675d18658f42ba5
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
sync files from diff.git f400825bc668466d9fc593470514d6e69ddfc5ff
- Commit:
1ed34e054452b0138551d1ddc0300c9ab7affb4c
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
sync files from diff.git cd9ef01a441e0ecfd499bf907c15a2878f7e0ee2
- Commit:
aaabf83f2dcb3f5cea3dc1f0227a88c7949e07d4
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
locate_hunk: set mangled earlier for clarity
suggested by stsp@; no functional change.
- Commit:
3b6e8f190b15806548d62418e2d3df56486cb631
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
patch regress: unify some tests
- Commit:
4f34ed97e0f428b8e9695ed8c18c681c339f7f02
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
allow for ignore whitespaces when matching the hunk
- Commit:
0335d24d8aee21c0754bcee3471af5d81b515221
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
gotwebd: avoid large allocation per fcgi record
while here also wrap fcgi_send_response to make sure we don't end up
trying to send a fcgi record bigger than allowed.
ok tracey@
- Commit:
9ebd31ec452c4cce92a00cf8031c063393bf9fd7
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
sync files from diff.git 3a15e1807a369c0a7827363eca22c9f1a8598d9c
Rather than realloc in fixed-sized blocks, use the 1.5 * allocated scheme
when growing the array. This produces fewer allocations and up to 3x speedup
on large diffs.
ok stsp@
- Commit:
07dd3ed35a32846bee5a7e36c2423eb8b404b9e3
- From:
- Mark Jamsek <mark@jamsek.dev>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tog: add n{G,g} key map to jump to line n like less(1)
Available to all views; for example, 99g will navigate to line 99 in the file
if in a blame view or the 99th commit if in a log view. Includes improvements
suggested by naddy and stsp.
ok naddy@
- Commit:
bcee88288085c75f185b4f4490fb97a5ebf29964
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
remove a tog blame TODO item which has been implemented
- Commit:
a4999e53b13bec4e7a0bd9c14fe457168f281745
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
remove 'author' TODO items; these have been implemented
- Commit:
c36b5b9ad3d8fbd3ad13b5a7a0fa4b8022c48dee
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add two more TODO items
- Commit:
cdbe1d7d5e05803418c160eaac35442489398f49
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
move use of sin_len out of gotwebd's parse.y
ok tracey
- Commit:
82a8b7ecf5c23c6bb7dc0b1bf17d5608316834f9
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
rework got patch -c documentation
ok op@
- Commit:
6f0bf9bf2208992840af747296f09053d37593f3
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
remove pointless repo_close with leaked error; found by florian with scan-build
- Commit:
cf1fe301a38235134f7eb246ec0258c003b76e6f
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix two missing error checks in tog; found by florian with scan-build
- Commit:
e2273eeb0781cf96e4745d326fd6e1ff10bc15f4
- From:
- Tracey Emery <tracey@traceyemery.net>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
tweak op@ log_debug output