tog/tog.c


Log

Author Commit Date CI Message
Stefan Sperling ee85c5e8 2020-02-29T11:13:12 map 'tog path' to 'tog log path' if possible; requested by mpi@
Stefan Sperling a2f4a359 2020-02-28T19:37:37 properly free cmd_argv in tog's main() function
Stefan Sperling dfd6c250 2020-02-28T19:36:57 fix typo in comment; found by mpi@
Christian Weisgerber a273ac94 2020-02-23T16:28:39 fix "tog diff object1 object2" by actually extracting the repository path from the work tree
Christian Weisgerber 09b5bff8 2020-02-23T16:28:39 switch "tog diff" repository path argument to a new -r option
Christian Weisgerber ea025d1d 2020-02-22T20:29:17 add ^B/^F key bindings for page up/down in the "blame" and "tree" views
Stefan Sperling 6962eb72 2020-02-20T15:11:59 unify formatting of common code in tog log, blame, and tree
Stefan Sperling e4a0e26d 2020-02-20T15:08:56 prevent possible double-free introduced in previous commit
Stefan Sperling 55cccc34 2020-02-20T14:58:02 add an optional path argument to 'tog tree'
Stefan Sperling f135c941 2020-02-20T14:58:02 use a common helper function to get the path from argv in tog log and blame
Stefan Sperling cb1159f8 2020-02-19T13:41:31 fix misplaced tog search prompt in split-screen views
Stefan Sperling bb63914a 2020-02-17T21:57:56 make tmp dir location a compile-time setting and change gotweb's tmp dir We are not sure whether a gotweb package can own /var/www/tmp on OpenBSD. Moving gotweb's tmp dir to /var/www/got/tmp sidesteps that issue.
Stefan Sperling 74283ab8 2020-02-07T18:02:57 switch 'tog tree' repository path argument to a new -r option
Stefan Sperling a0975128 2020-02-07T11:02:00 fix 'got blame' and 'tog blame' on files added on worktree's current branch
Stefan Sperling 82954512 2020-02-03T18:10:18 revert 6b8a2b8fcd99c4365b1aa9513c0f0149beac2491; it broke 'n' (search next) In the log view, 'n' sometimes failed to search for the next matching commit and tog dead-locked. So a yield or mutex unlock/lock is required for search to work. Perhaps we need a different fix?
Tracey Emery f5404e4e 2020-02-02T17:35:10 replace improperly removed break
Tracey Emery 3ffacbe1 2020-02-02T17:10:40 goto done and remove erroneous break
Tracey Emery f44b1f58 2020-02-02T16:56:40 enable searching in tog diff view ok stsp
Tracey Emery 5465d566 2020-02-01T17:32:31 prepare local variable in open_diff_view and close_diff_view for diff view searching ok stsp
Stefan Sperling f43793a4 2020-01-27T22:14:23 fix a bug where 'got log PATH' failed to map PATH into the repository The problem occured inside /usr/src/sys due to the /sys symlink, where /usr/src was a got work tree. If a work tree is present we already have the right path so checking the disk is pointless.
Stefan Sperling b672a97a 2020-01-27T18:36:37 make 'tog log' show first-parent history by default; add -b option and B key
Stefan Sperling 91b8c405 2020-01-25T11:41:24 tweak default colors for directories and symlinks in 'tog tree'
Martin Pieuchot b55e96cf 2020-01-19T14:35:58 Remove redundant error check after got_object_id_by_path(). An error code is always returned when the oid is NULL.
Martin Pieuchot a93813fa 2020-01-19T14:18:07 Remove double lock in error path.
Martin Pieuchot 6b8a2b8f 2020-01-19T13:46:59 Remove unnecessary pthread_yield(3). In the two cases a context switch isn't necessary as the thread isn't blocked and doesn't need to wait for its sibling.
Stefan Sperling 71a27632 2020-01-15T19:26:49 move match_object_id() into the library; supersedes got_repo_resolve_commit_arg
Stefan Sperling 7a1d6b72 2020-01-15T19:10:46 fix 'tog log -c' with tags
Stefan Sperling 61266923 2020-01-14T18:44:19 fix suspending and resuming tog with Ctrl-Z and fg; issue reported by naddy@
Stefan Sperling f13374f4 2020-01-14T14:28:08 fix 'tog tree' usage displayed in error case (patch by naddy@)
Stefan Sperling 6586ea88 2020-01-13T16:12:32 unbreak got and tog commands by disabling GNU extensions in getopt_long(3)
Stefan Sperling e801a566 2020-01-13T16:01:04 update usage
Stefan Sperling 83cd27f8 2020-01-13T15:59:47 make got and tog accept a --version argument; -V option is a bit obscure prompted by a question from tedu@
Stefan Sperling c5b78334 2020-01-12T20:40:31 make 'tog log PATH' fail again when a non-existent path is specified
Stefan Sperling 33cbf02b 2020-01-12T17:10:45 fix switching to tog's tree view when logging a path; reported by naddy@
Stefan Sperling 5aa81393 2020-01-06T19:38:23 add copyright year for files already touched in 2020
Stefan Sperling 3d509237 2020-01-04T18:25:28 simplify got_commit_graph_open()
Stefan Sperling ee780d5c 2020-01-04T15:44:13 remove GOT_ERR_ITER_NEED_MORE; the commit graph now fetches internally instead
Stefan Sperling 6db9f7f6 2019-12-10T11:42:22 always show numeric dates in ISO-8601/xkcd-1179 format ok millert tracey sthen
Stefan Sperling 56e0773d 2019-11-28T02:32:58 convert tree entries from SIMPLEQ to an array
Stefan Sperling dee2c213 2019-11-13T10:49:06 fix tog display issue caused by Tab in commit messages; reported by mpi@
Stefan Sperling 52e88aae 2019-11-08T19:52:37 use less empty padding space after author name in 'tog log'
Stefan Sperling 11b20872 2019-11-08T14:28:58 add colors for 'tog log' and 'tog blame'
Stefan Sperling bddb1296 2019-11-08T13:51:18 more s/line_color/color/g in tog
Stefan Sperling f26dddb7 2019-11-08T13:50:01 rename tog_line_color to just tog_color
Stefan Sperling 1d7fe5cd 2019-11-08T13:47:51 support the terminal's "default" color in tog color schemes
Stefan Sperling c0b01bdb 2019-11-08T13:41:11 add color support to 'tog tree'
Stefan Sperling 7169caa2 2019-11-08T13:15:38 mark a tog-internal function as static
Stefan Sperling 6d17833f 2019-11-08T13:10:36 add color support to 'tog diff'
Stefan Sperling 6570a66d 2019-11-08T11:18:29 make 'tog log' show abbreviated commit IDs if the window is large enough suggested by landry@
Stefan Sperling 9ba1d308 2019-10-21T09:11:19 always show the input path when realpath(3) returns an error
Stefan Sperling 7ca04879 2019-10-19T11:06:47 fix a tog log view performance bug when lots of commits are loaded
Stefan Sperling 13add988 2019-10-15T11:12:56 fix interlocking between tog log and man threads during search
Stefan Sperling 63035f9f 2019-10-06T19:24:31 add -w (ignore whitespace) option to 'got diff'
Stefan Sperling 50284065 2019-10-04T15:09:09 fix bogus error return introduced in previous commit
Stefan Sperling e6b23735 2019-10-04T15:01:59 update reference list when 'tog log' view is refreshed with Ctrl+L
Stefan Sperling 1cae65b4 2019-09-22T15:27:48 missing error checks in tog(1); found by jj@ with scan-build
Hiltjo Posthuma e10c916e 2019-09-15T13:53:41 change "calloc" to "strdup" for strdup() NULL return value
Stefan Sperling 27a741e5 2019-09-11T17:29:21 tog: fix cosmetic display issues involving \n and TABs
Stefan Sperling c9956ddf 2019-09-08T18:13:54 use author name/email from ~/.gitconfig if GOT_AUTHOR is not set
Stefan Sperling 239f6369 2019-09-08T13:07:54 fix line-wrap for lines spanning the terminal in tog diff view
Stefan Sperling 12314ad4 2019-08-31T09:38:14 make 'tog blame' release its work tree lock before the main loop
Stefan Sperling 2fc00ff4 2019-08-31T09:34:36 make 'tog log' release its work tree lock before the main loop
Hiltjo Posthuma fd9f4a2d 2019-08-28T18:45:16 tog: mbs2ws: fix sizeof of element for memory allocation
Stefan Sperling 63c5ca5d 2019-08-24T20:56:15 detect and ignore Git submodules
Stefan Sperling b8bad2ba 2019-08-23T20:01:06 make 'got tag -l' list tags by time stamp in descending order
Stefan Sperling 29606af7 2019-08-23T18:42:27 allow got_ref_list() to restrict returned refs to a particular namespace
Stefan Sperling fc06ba56 2019-08-22T12:07:56 support blame cancellation in 'tog blame' view
Stefan Sperling 6fb7cd11 2019-08-22T11:33:50 add cancellation support to commit graph and 'got blame'
Stefan Sperling e6209546 2019-08-22T11:12:24 untie cancel callback declaration from the work tree
Stefan Sperling 7d049c18 2019-08-22T00:42:19 tog: fix search prompt location in split-screen view
Stefan Sperling 51fe7530 2019-08-19T11:53:01 have tog blame refresh display more often while annotation is in progress
Stefan Sperling b02560ec 2019-08-19T09:54:52 fix number of lines accounted for during blame
Stefan Sperling 0d8ff7d5 2019-08-15T00:15:32 rename got_blame_incremental() to got_blame()
Stefan Sperling 09867e48 2019-08-13T17:01:23 properly parse timestamps in commit objects as UTC (patch by Hiltjo Posthuma)
Stefan Sperling 5943eee2 2019-08-13T16:58:34 strip Git GPG signatures from log messages
Stefan Sperling 5d844a1e 2019-08-13T15:41:46 don't attempt to parse Git's "leightweight" tags as real tag objects
Stefan Sperling 52b5abe1 2019-08-13T10:21:12 make 'tog log' display tags in addition to branch references
Stefan Sperling 848d6979 2019-08-12T13:43:17 annotate symlinks with @ in 'got tree' and 'tog tree'
Stefan Sperling 8d0fe45a 2019-08-12T11:31:27 fix crashes in tog when blame returns no results on a file fix for underlying blame bug still pending...
Stefan Sperling 83ce39e3 2019-08-12T10:58:33 tog: plug memory leak in blame_tree_entry()
Stefan Sperling c4843652 2019-08-12T10:55:58 fix double-free when blame view is closed in error path; found by otto@
Stefan Sperling d264cece 2019-08-12T10:50:32 make tog's log thread bail out upon SIGPIPE; I don't fully grok which thread will see these signals; somebody please page Mr. Posix
Stefan Sperling 963ecf2a 2019-08-12T09:31:52 don't let a pthread mutex unlock error mask other errors in tog
Stefan Sperling 83baff54 2019-08-12T09:28:12 let tog catch SIGPIPE; might help fix unclean exit issue reported by Artturi
Stefan Sperling b9d7675a 2019-08-11T20:24:29 wrap over-long line
Stefan Sperling a1fbf39a 2019-08-11T20:22:30 make "tog log" respect -r argument; from semarie@
Stefan Sperling a0de39f3 2019-08-09T11:56:24 fix build on OpenBSD/sparc64 (gcc)
Stefan Sperling ef129c5e 2019-08-03T12:10:12 tog: plug memleaks in error paths of input_log_view()
Stefan Sperling 53ccebc2 2019-07-30T14:54:05 add 'make release' target; programs now have a version number
Stefan Sperling 678cbce5 2019-07-28T13:10:25 allow aborting search in 'tog log' with backspace key
Stefan Sperling f2b6a97d 2019-07-15T19:06:05 allow branch names with tog log/blame/tree -c options
Stefan Sperling 37c06ea4 2019-07-15T16:31:19 link _p versions of libraries if PROFILE=1; hint from claudio
Stefan Sperling ce5b7c56 2019-07-09T12:49:08 make got/tog list commands if -h or an unknown command is provided
Stefan Sperling d70c3147 2019-07-09T12:01:28 tog: fix typo in error message
Stefan Sperling 3642c4c6 2019-07-09T10:55:36 tog: stop interpreting unknown commands as paths
Stefan Sperling 57b33b64 2019-07-08T18:58:35 fix thread synchronization during 'tog log' search; more speed-up
Stefan Sperling 96e2b566 2019-07-08T18:41:01 speed up search in 'tog log' while commits are still being loaded
Stefan Sperling dd88155e 2019-06-29T23:26:36 disambiguate abbreviated object IDs based on object type
Stefan Sperling e09a504c 2019-06-28T20:59:14 introduce support for abbreviated object IDs
Stefan Sperling 921be706 2019-06-28T12:23:58 fix segfault in error path of 'tog diff'