got


Log

Author Commit Date CI Message
Stefan Sperling ceee4c0f 2020-03-18T16:11:28 remove unused arguments from got_fetch_pack()
Stefan Sperling 07e52fce 2020-03-18T16:11:27 rename got_fetch() to got_fetch_pack()
Stefan Sperling 20eb36d0 2020-03-18T16:11:27 attempt to connect to a server before creating a local repo
Stefan Sperling d9b4d0c0 2020-03-18T16:11:27 make got_fetch() provide reference info to callers and set refs in cmd_clone()
Stefan Sperling bb64b798 2020-03-18T16:11:26 have got_fetch() require an open got_repository to be passed in
Stefan Sperling 09838ffc 2020-03-18T16:11:26 make got_fetch() expect URI information in parsed form
Stefan Sperling 84f2fa52 2020-03-18T16:10:32 rename got_clone() to got_fetch()
Stefan Sperling 6f23baec 2020-03-18T16:10:31 declare got_clone() in public API space
Stefan Sperling 83b416ed 2020-03-18T16:10:30 add ori as author
Stefan Sperling 93658fb9 2020-03-18T16:10:30 Add initial support for network protocol. Ported from git9 by Ori Bernstein.
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 4cb8f8f3 2020-03-05T09:51:26 fix wrong use of words in a histedit error message
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 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 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
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
Stefan Sperling dc990cbf 2020-02-22T20:42:55 document semantics of got log and tog log path arguments
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 a0975128 2020-02-07T11:02:00 fix 'got blame' and 'tog blame' on files added on worktree's current branch
Stefan Sperling 7b0db533 2020-02-04T17:20:08 better description of the effects of 'got rebase' in got.1 EXAMPLES
Stefan Sperling c5996fff 2020-01-29T12:47:13 perform the check for an empty histedit commit list earlier
Stefan Sperling ab20a43a 2020-01-29T12:47:13 don not open log message editor if there are no changes during 'histedit -c'
Stefan Sperling 514f2ffe 2020-01-29T12:47:13 display branch name and first commit to be edited at top of histedit script
Stefan Sperling 82997472 2020-01-29T12:47:13 improve wording of hint displayed for the histedit 'fold' command
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 1137e0ae 2020-01-27T19:01:16 man page wording tweaks
Stefan Sperling 48c8c60d 2020-01-27T18:36:37 make 'got log' show first-parent history by default; remove -f and add -b option
Stefan Sperling 74daf7cb 2020-01-27T18:36:29 fix typo in got(1) man page markup
Stefan Sperling fb9704af 2020-01-27T17:07:01 do not display unversioned files during 'got revert -R'
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.
Stefan Sperling d1f16636 2020-01-15T22:05:49 move got_repo_cmp_tags() to got_ref_cmp_tags()
Tracey Emery 2ddd4701 2020-01-15T20:39:12 move cmp_tags() into the library
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
Tracey Emery 89a6c02f 2020-01-14T14:26:02 remove unneeded done jumps
Stefan Sperling 562580bc 2020-01-14T13:25:55 support Git-style "lightweight" tags as arguments for 'got diff'
Stefan Sperling d4efa91b 2020-01-14T13:25:55 handle Git-style "lightweight" tags in got tag -l
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 bb51a5b4 2020-01-13T10:28:58 add -E option to 'got checkout' allowing use of a non-empty work tree path needed by and ok kn@
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 a85446b2 2020-01-04T08:49:31 explicitly document that rebase requires a work tree reflecting a branch tip
Stefan Sperling 7f47418f 2019-12-20T15:54:59 make 'got checkout' and 'got update' work with read-only repositories but warn users about the garbage collection problem
Stefan Sperling c29c428a 2019-12-16T15:24:45 both 'got add' and 'got rm' now accept directories; sync usage and man pages
Tracey Emery 70e3e7f5 2019-12-13T20:05:57 add -k option to 'got remove' to keep files on disk ok stsp
Stefan Sperling 12463d8b 2019-12-13T11:52:18 address some of the file descriptor vs. path races in status callbacks
Tracey Emery f2a9dc41 2019-12-13T00:29:28 add -R option to 'got remove' for recursive deletion ok stsp
Stefan Sperling 6db9f7f6 2019-12-10T11:42:22 always show numeric dates in ISO-8601/xkcd-1179 format ok millert tracey sthen
Klemens Nanni 8b3ec12f 2019-12-08T22:16:28 got.1: Fix mdoc(7) linter errors/warnings mandoc: got.1:573:96: ERROR: skipping end of block that is not open: Oc mandoc: got.1:1583:2: WARNING: skipping paragraph macro: Pp at the end of Sh
Klemens Nanni 463a997a 2019-12-08T22:15:40 got: start_commit and search_pattern ought to be const Revert the last accidential revert; sorry for the noise, I fat fingered got commands while juggling diffs.
Tracey Emery 022fae89 2019-12-06T16:18:26 Introduce -I to cmd_add to disregard ignores when adding recursively. Expand add.sh tests. Update TODO.
Klemens Nanni a2687442 2019-11-30T02:40:53 got: start_commit and search_pattern ought to be const Must not be passed to free(3), holds argv[] input.
Klemens Nanni 45e9b850 2019-11-30T02:37:46 got: start_commit and search_pattern ought to be const Must not be passed to free(3), holds argv[] input.
Klemens Nanni c6390436 2019-11-29T23:00:38 got.1: Fix log -s, tweak wording From stsp
Klemens Nanni dfcab68b 2019-11-29T21:54:39 diff: Allow 0 context, use GOT_DIFF_MAX_CONTEXT
Klemens Nanni dc1edbfa 2019-11-29T21:54:38 log: -C requires -p "got log -C0" is invalid synopsis, so behave accordingly.
Klemens Nanni 6841bf13 2019-11-29T21:54:03 log: Implement -s search-pattern match_logmsg() is copied from tog's match_commit().
Stefan Sperling 38b0338b 2019-11-29T03:57:10 if there are no commits to rebase, just forward the rebased branch's reference Problem found by kn@
Stefan Sperling bd5895f3 2019-11-28T05:06:55 Outright forbid reference names with a leading '-'. Matches behaviour documented in git-repository(5).
Stefan Sperling e560b7e0 2019-11-28T04:59:19 prevent 'got import' from creating a branch called "-"
Stefan Sperling 56e0773d 2019-11-28T02:32:58 convert tree entries from SIMPLEQ to an array
Stefan Sperling 4e68cba3 2019-11-23T10:11:54 add -R option to 'got add' for recursive addition (patch by Tracey Emery)
Stefan Sperling ab2f42e7 2019-11-10T15:51:05 cache delta data buffers in an LRU cache
Stefan Sperling a74f7e83 2019-11-10T11:33:13 add -c option to 'got branch', replacing the optional second argument
Stefan Sperling 70015d7a 2019-11-08T20:27:38 hide EINTR again when got exits due to Ctrl-C
Stefan Sperling f8afbdc8 2019-11-08T20:25:10 try harder not to hide errors from helper programs when got(1) exits
Stefan Sperling 5d67f40d 2019-11-08T16:23:17 rename 'got init' and 'got import' default branch to "main"; patch by kmos@
Stefan Sperling 3a62228f 2019-11-08T11:09:28 fix copy-pasto in man page; patch by landry@
Stefan Sperling 11db6024 2019-10-21T15:17:31 show commit date's century in 'got blame' output (patch by Tracey Emery) tests adjusted by me
Stefan Sperling 9ba1d308 2019-10-21T09:11:19 always show the input path when realpath(3) returns an error
Stefan Sperling ef293bdd 2019-10-21T09:04:57 preserve the log message when an error occurs during import, as intended
Stefan Sperling f372d5cd 2019-10-21T09:04:57 preserve the tag message when an error occurs during tagging, as intended
Stefan Sperling 7266f21f 2019-10-21T09:04:57 preserve the log message when an error occurs during commit, as intended
Stefan Sperling 46f68b20 2019-10-19T11:06:56 show file mode differences when diffing trees
Stefan Sperling 1ebedb77 2019-10-19T11:06:55 teach 'got commit' to tweak the executable bit of a file
Stefan Sperling 14c25ea2 2019-10-15T12:05:06 add a 'got integrate' example to the man page
Stefan Sperling 3aef623b 2019-10-15T11:38:28 catch and reject integration into the freshly rebased branch
Stefan Sperling 2822a352 2019-10-15T11:38:27 add 'got integrate' command
Stefan Sperling 366e0a5f 2019-10-10T13:16:01 prevent a NULL deref in an error path of got.c's diff_trees()
Stefan Sperling 96cbb597 2019-10-09T08:24:38 remove worklist code; it was only used to unlink files which we already unlink
Stefan Sperling f16e4044 2019-10-09T06:52:07 explicitly document that 'got ref' expects absolute reference names
Stefan Sperling 24b5452a 2019-10-09T06:50:28 show bad reference names in error messages to make such errors more clear
Stefan Sperling 63035f9f 2019-10-06T19:24:31 add -w (ignore whitespace) option to 'got diff'
Stefan Sperling ba6e0c2d 2019-10-04T16:02:50 Fix misleading wording in got.1 about branch options; -r option always works.
Stefan Sperling ad89fa31 2019-10-04T15:56:03 make 'got branch' without args show work tree's branch; requested by benno@
Stefan Sperling 4e99b47e 2019-10-04T15:32:57 show temporary branch in 'got branch -l' during rebase and histedit