Log

Author Commit Date CI Message
Stefan Sperling 3969253a 2020-03-07T19:01:44 remove implicit entry update from got_fileindex_entry_alloc(); just alloc
Stefan Sperling ef6337de 2020-03-06T12:46:35 bump version number
Stefan Sperling cff5d32f 2020-03-06T12:42:58 change for 0.29
Tracey Emery 15341bfd 2020-03-05T14:39:37 trim directories in got remove -R This is a racy solution that needs to be properly implemented in the future. ok stsp
Stefan Sperling 5b87815e 2020-03-05T11:20:24 prevent commits from being listed more than once in a histedit script While merging a commit multiple times during a histedit operation could potentially make sense in some corner case, a commit appearing more than once in the script is more likely to happen accidentally. If desired, the same effect can still be achieved by running multiple histedit operations, or by using 'got cherrypick' while the histedit operation is paused for arbitrary editing.
Stefan Sperling de05890f 2020-03-05T10:53:53 fix histedit 'rebase commit ID mismatch' error when splitting a commit Commit IDs on histedit's temporary branch can change arbitrarily because the user may create new commits on this branch while editing past commits. So there is no point in trying to verify these IDs like we do during rebase. Add a test case which demonstrates the problem.
Stefan Sperling 4cb8f8f3 2020-03-05T09:51:26 fix wrong use of words in a histedit error message
Stefan Sperling 37486c75 2020-03-05T09:36:45 make our README file point at our website
Stefan Sperling 4b6c9460 2020-03-05T08:41:12 be helpful when users try to check out work trees without a known branch Provide a useful error message in such cases and explicitly document intentional restrictions in the got(1) man page. Prompted by a question from Adam Steen via bsd.network https://bsd.network/@adams/103768951483318235
Stefan Sperling ee85c5e8 2020-02-29T11:13:12 map 'tog path' to 'tog log path' if possible; requested by mpi@
Stefan Sperling b8b3f209 2020-02-29T08:15:55 make got_path_is_root_dir() deal with an arbitrary amount of leading slashes
Stefan Sperling 61a7d79f 2020-02-29T08:05:11 remove GOT_ERR_NOT_ABSPATH and fix existing users to deal with absolute paths
Stefan Sperling 63f810e6 2020-02-29T07:54:55 when "bad path" errors occur, always show the path in question
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@
Stefan Sperling a0ea4fc0 2020-02-28T17:37:53 show merged commit ID + logmsg upon merge conflict during rebase and histedit This makes it more apparent which commit contained the conflicting change. The new output looks like this: C sys/dev/pci/if_iwm.c 8a98d848a1a5 -> merge conflict: properly modify station queues got: conflicts must be resolved before rebasing can continue
Stefan Sperling 272a1371 2020-02-28T17:32:05 don't leak logmsg in show_rebase_progress()
Stefan Sperling c10890ce 2020-02-25T13:32:18 in got.1, clarify that rebasing of branches with zero local changes is normal
Stefan Sperling 5dd154fc 2020-02-25T12:59:17 bump version number
Stefan Sperling 233f3602 2020-02-25T12:54:34 changes for 0.28
Stefan Sperling 2b6826ba 2020-02-24T22:04:15 attempt to more clearly explain what 'got rebase' is used for
Stefan Sperling 7ef62c4e 2020-02-24T21:31:31 disallow 'got rebase' while a histedit operation is in progress
Stefan Sperling 65db4ffb 2020-02-24T21:22:56 document that 'got integrate' cannot be used during a histedit operation
Stefan Sperling ddbfac99 2020-02-24T21:12:49 document histedit's -F option
Stefan Sperling 46fa4c83 2020-02-24T21:12:21 explain more clearly how a histedit script will be edited
Stefan Sperling 6e54d307 2020-02-24T21:03:20 document more clearly what needs to be done to start a histedit operation
Stefan Sperling 80106605 2020-02-24T20:31:09 switch 'got tag' commit argument to a -c option for consistency
Stefan Sperling da76fce2 2020-02-24T20:31:09 let 'got branch' switch and update the work tree ok tracey
Tracey Emery 2bdefe56 2020-02-24T15:44:56 edit man page wording for histedit -m feature
Christian Weisgerber 212b39d1 2020-02-24T11:57:12 Sync the description of the -r flag from "tree" to the other commands. Clarify that if the current directory is a work tree, tog will pick the repository associated with this work tree by default. ok stsp
Stefan Sperling 083957f4 2020-02-24T09:50:06 add 'got histedit -m' option which makes it easy to edit log messages only ok tracey
Stefan Sperling 5b666081 2020-02-24T09:46:13 show how to log subdirectories in got.1 EXAMPLES ok naddy
Christian Weisgerber 09b5bff8 2020-02-23T16:28:39 switch "tog diff" repository path argument to a new -r option
Christian Weisgerber a273ac94 2020-02-23T16:28:39 fix "tog diff object1 object2" by actually extracting the repository path from the work tree
Stefan Sperling dc990cbf 2020-02-22T20:42:55 document semantics of got log and tog log path arguments
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 f70ffbb5 2020-02-22T12:44:08 disable compiler warnings in release builds because -Werror is bad for ports sthen@ suggested to drop -Werror; I think we don't need any -W in release mode
Stefan Sperling 54b1c5b5 2020-02-22T12:37:58 don't proceed if a bad imsg is received in recv_gitconfig_remotes()
Stefan Sperling d669b9c9 2020-02-22T12:37:12 fix uninitialized variablen recv_gitconfig_remotes; found by sthen@ with gcc8
Stefan Sperling 32dfb4a2 2020-02-21T08:34:31 bump version number
Stefan Sperling 1d2efe42 2020-02-21T08:28:20 changes for 0.27
Stefan Sperling 72314d84 2020-02-21T08:24:04 sync distfile list
Stefan Sperling e5ac56af 2020-02-21T08:03:18 ensure that gotweb's libexec helpers inherit build flags set in parent dirs
Stefan Sperling 7fa81f88 2020-02-21T01:06:03 allow 'got ref' to manipulate refs which do not have a slash in their name
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
Tracey Emery 795c10a4 2020-02-20T13:39:19 initialize all missed kcgi_err enums. pointed out by kurt@
Tracey Emery 1a0f5bbd 2020-02-19T16:46:02 whitespace, remove unneeded jump
Tracey Emery ff4bb25f 2020-02-19T16:37:13 add new tags page and ability to navigate all tags
Stefan Sperling cb1159f8 2020-02-19T13:41:31 fix misplaced tog search prompt in split-screen views
Tracey Emery 75f21c89 2020-02-18T21:42:37 reduce gw_index np_wrapper code to one if statement
Tracey Emery bf4484a3 2020-02-18T21:24:33 work if someone sets got_max_commits_display to 1, and check prev_id
Tracey Emery 55e46400 2020-02-18T20:39:38 add navigation to gw_briefs and gw_commits, fix logic error in original limit checking
Stefan Sperling c2fe5481 2020-02-17T23:02:49 bump version number
Stefan Sperling f8e69f75 2020-02-17T22:58:46 changes for 0.26
Stefan Sperling 246e910a 2020-02-17T22:57:34 fix gotweb build on sparc64; the old linker wants to see -lz after -lkcgi
Stefan Sperling faa61ea3 2020-02-17T22:39:39 make gotweb's install target respect DESTDIR for the devel/got port
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 fa44fa48 2020-02-17T20:48:35 remove needless file and folder parameters from blame's commit diff links
Stefan Sperling d90bcdd6 2020-02-17T20:42:02 improve error message when query contains an invalid repo name
Stefan Sperling 97a19438 2020-02-17T20:34:40 got_ref_get_name() cannot fail
Stefan Sperling 8f214b62 2020-02-17T20:34:27 don't use got_error_from_errno() in situations where errno was not set
Stefan Sperling c56af3fd 2020-02-17T20:24:04 add missing error check in gw_output_blob_buf()
Tracey Emery bc8c6114 2020-02-17T17:30:29 free missed n_header refs
Tracey Emery 795c5bd7 2020-02-17T17:23:16 check for correct opendir
Tracey Emery e227880d 2020-02-17T17:22:07 improve closedir error handling
Tracey Emery 8182bd34 2020-02-17T17:11:26 close potentially left open directory during an error condition
Tracey Emery 85993e64 2020-02-17T17:09:49 apply unveil earlier in gw_summary, instead of waiting on gw_briefs
Stefan Sperling 66dc9065 2020-02-15T17:11:59 document the new search feature in tog's diff view
Tracey Emery bf93a5c0 2020-02-15T16:35:04 handle commit briefs branch display in gw_briefs instead of gw_summary
Tracey Emery 1b33afc0 2020-02-14T23:48:52 improve gw_blame querystring checking. remove XXX comments, since repo_file is now checked before dumping blob
Tracey Emery 3b7fdcf4 2020-02-14T23:23:47 improve gw_blob querystring checking
Tracey Emery 9f33591a 2020-02-14T22:26:09 check required querystring commit exists for gw_tags
Tracey Emery 56997cd3 2020-02-14T22:19:41 rename commit to commit_id in gw_trans and fix setting gw_trans->commit_id from gw_index leave comment explaining this
Tracey Emery f9315db0 2020-02-14T22:07:17 initialize author and committer to prevent double free on error
Tracey Emery deac617c 2020-02-14T21:49:11 where we can, use a single open repo object to reduce opening and closing a repo
Tracey Emery 3c245a0e 2020-02-14T21:01:29 further simplify objects carries around in struct gw_header
Tracey Emery 4e8d6e3e 2020-02-14T20:56:45 simplify getting commit header info and open and close in scope discussed at length with stsp
Stefan Sperling 1ae0a341 2020-02-14T15:43:03 add a test which ensures that 'got rebase' trims empty dirs from disk
Stefan Sperling 2011c142 2020-02-14T11:19:43 simplify gw_get_repo_age() and close several resource leaks
Stefan Sperling 7eb2c8df 2020-02-14T11:13:16 no need to dup refname in gw_output_repo_heads()
Stefan Sperling eb4f3ad3 2020-02-14T11:13:16 check for any symbolic refs and skip them, not just HEAD
Stefan Sperling 17d4bf8d 2020-02-14T11:13:16 refname in gw_get_repo_age() doesn't need to be duplicated; simplify
Stefan Sperling 742ba378 2020-02-14T10:50:54 there is no need to strdup() gw_trans->headref
Stefan Sperling 122f3af5 2020-02-14T10:41:25 add missing error checks in gw_get_header()
Stefan Sperling a4c23852 2020-02-14T10:25:50 gotweb: decorate only the branch's tip commit ID with "(branch)"; add XXX
Stefan Sperling b0a1bc86 2020-02-14T10:05:22 gw_free_headers() frees just one gw_header so rename it to gw_free_header()
Stefan Sperling 92786174 2020-02-14T09:48:39 make gotweb's summary page display which branch the commit briefs belong to
Tracey Emery 7ecc73af 2020-02-13T23:49:31 ensure we close the final checked dir in gw_load_got_path and use better error message
Tracey Emery cc18a904 2020-02-13T23:40:43 catch invalid actions and git paths earlier in querystring parsing
Tracey Emery 6f6f771f 2020-02-13T23:28:37 set gw_err in correct code path
Tracey Emery 88759617 2020-02-13T22:25:33 remove free(refs_str) that was reintroduced with rebase
Tracey Emery f1200fe3 2020-02-13T22:20:46 fixup initial action querystring error and use the err.tmpl finally
Stefan Sperling d81f9039 2020-02-13T20:49:27 jump to error handling consistently in gw_load_got_path()
Stefan Sperling a81394a7 2020-02-13T20:42:44 eliminate unnecessary strdup() via an intermediate variable in gw_get_commit()
Tracey Emery 53e81e48 2020-02-13T20:38:29 remove unneeded asprintf and clean up a couple of lines
Tracey Emery 5c65becf 2020-02-13T20:27:04 remove all usage of strdup("") and simply check for NULL instead
Tracey Emery 39fdad0d 2020-02-13T18:07:50 avoid strdup on author and committer