Commits
- Commit:
d8f38dc4399d778c7e8df3c3a0d7e5e427146257
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make ^L in the tog log view stick to branches/tags selected via the -c option
Previously, the log view would remember the branch of the work tree in
which tog was started, and jump back to that branch upon ^L even if a
different branch was requested via -c.
ok naddy
- Commit:
785d65a4b3057e85fda2a59c84f19be80408935a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make got_repo_object_match_tag() work with absolute reference names
Bug triggered by naddy while testing a patch for tog.
ok naddy
- Commit:
5a8b5076742038c09dece0c1e59ecddf8cd7a41a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
do not recompute the displayed diff if '<' or '>' command cannot advance
Recomputing a diff can take time. Only do it if a different commit is
going to be displayed.
- Commit:
fb59748f6b2d9108022ebf444586386f085fd134
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
garbage-collect pointless main_view variable in view_loop()
This short-cut is not necessary and was buggy: The pointer was not updated
even if the main view had changed. Removing this code fixes a problem on
FreeBSD where pressing 'q' in a child view caused tog to exit.
ok naddy
- Commit:
2b7798554376be53923852de4f57b34f3ebc9cec
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
fix move to next/prev commit in diff view when the log view is not displayed
Original analysis and final tweak by yours truly, all the hard work of
fixing the program logic by stsp.
ok stsp
- Commit:
ee75651731664329c921eb8bd51127f13384ed50
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
pass reference name along when a log view is opened from a ref view
ok naddy
- Commit:
e78dc838220282917888618e9c7be69df3cb3ccf
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
replace 'focus_view' output param of view_input with 'view->focussed'
- Commit:
4010e238a0826aba0cbc42d3a0a175d1edb4c547
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make tog call pledge(2) directly in main() instead of per-command
All of tog's pledges are currently the same, and they must be the same
because tog allows switching between available command views at run-time.
ok tracey
- Commit:
41ad2652808e8c045a2a82b97bb309e35fde2887
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove unused function got_path_get_absolute(); realpath(3) is usually better
- Commit:
dbb02f4d25e3588f5eaecee3dd69a1306004af14
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
in got_repo_open(), let realpath(3) take care of relative paths
- Commit:
9970f7fca9084ec99cb608732155668240b318fe
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
replace dead_view pointer in view_loop() with 'dying' flag in struct tog_view
ok naddy
- Commit:
72a9cb46de886cdce06a733a113b6ed47be4969b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
tog's view_set_child() never returned an error; simplify accordingly
ok naddy
- Commit:
acdafe9c25c0e859deb1540d58c50723221f12c8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove redundant "child_focussed" variable from struct tog_view
ok naddy
- Commit:
0bf7f15321b5345c5f024cd18cede1959da68873
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
tog's log view needs to request more commits when the window expands
ok stsp
- Commit:
3e13595003634037ff26696ce7a32545721bfc24
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
pass only the view state to scroll functions that don't need the full view
ok stsp
- Commit:
42a2230c34c2c687f7240566e9a9192a4a7f6f47
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
reverse tree_view_visit_subtree() parameters for consistency
ok stsp
- Commit:
d91faf3b4d4dad2a2fb478e472c1355b5cf864a9
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
trim repo parameter from tree_view_walk_path(), already set by open_tree_view()
ok stsp
- Commit:
d86d3b18bf5528157d1125bd8476e36715c0de7f
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
trim redundant and used parameters from draw_tree_entries()
ok stsp
- Commit:
4f7c3e5ef9dcbaf5bf22ba67d9607de1b14c2fcf
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
trim redundant parameters from draw_blame()
ok stsp
- Commit:
89f1a395ef2937f18d497603baa0036428c16905
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
trim redundant parameters from draw_file()
ok stsp
- Commit:
8fdc79fef0665b11704d1ed9f5fd5386c6615b13
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
trim redundant and unused parameters from draw_commits() and draw_commit()
ok stsp
- Commit:
a538836306586bdccfe624c360afb341f68a7776
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
trim redundant and unused parameters from run_blame()
ok stsp
- Commit:
ffe385066240ef3f4d6b0f279be621a100b20a70
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
trim redundant parameters from log_scroll_* and trigger_log_thread functions
Also rename scroll_{up,down} to log_scroll_{up,down}; requested by stsp.
ok stsp
- Commit:
694d3271e2afd0fc9a20ede5856bd4ee41d92eb3
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
trim redundant parameters from {ref,tree}_scroll_{up,down} functions
Pass only the view and scroll amount to these functions; remove
unused parameters and those that are contained in the view state.
ok stsp
- Commit:
34ba691717f92f1469abdb1fdcb04351278668a2
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix page-up/down in 'tog ref' view; ok naddy