Commits
- Commit:
ced242c2ebcf8284b1cb695dc144461cace5313c
- From:
- Omar Polo <op@omarpolo.com>
- Via:
- Tobias Heider <me@tobhe.de>
- Date:
Add initial read-only http fetch support using a got-http helper.
Currently we only support the smart protocol with a limited feature set.
ok stsp@ tobhe@
- Commit:
72cc612fc3a0ca437b8ae0c55ff815e9a1a9e766
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
get rid of unnecessary "dns inet" pledge promises while fetching via git://
- Commit:
f4ab0e5770b96257cb1a43cfe292daa54f2b402e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got status' display interrupted rebase, histedit, and merge operations
When an operation is interrupted add a trailing message to status output
which displays the operation and branches involved.
This information will be useful when diagnosing problem reports and it
helps new users with contextualizing multi-operation work tree state.
ok op@
- Commit:
8af456a9cc91eb4cba92e455baf06e679fe9ced6
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
forgot to unveil the log message file passed to got commit -F
found by op's regress builder
- Commit:
efcfe9187f7bcd4faecb4eabda86f3a921c62387
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fold some long lines
- Commit:
909ef56bac18cdc0d889412542697be574acfe6b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
call unveil earlier in 'got tag'
We now know that unveil(2) will never traverse exec.
No need to wait with unveil until the editor has been run.
ok op@
- Commit:
b56c985f97e99640c7e2f2f48dccabbc05526069
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
call unveil earlier in 'got histedit'
We now know that unveil(2) will never traverse exec.
No need to wait with unveil until the editor has been run.
ok op@
- Commit:
aaa8879b1ecf56fbe7d69e69a6e951db4d8cb806
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
call unveil earlier in 'got commit'
We now know that unveil(2) will never traverse exec.
No need to wait with unveil until the editor has been run.
ok op@
- Commit:
2f40f7d278bccb8402479f25d13145bdc199bfb7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
call unveil earlier in 'got import'
We now know that unveil(2) will never traverse exec.
No need to wait with unveil until the editor has been run.
ok op@
- Commit:
98297eed5b9082b66f6397a0921c8d90df72cca1
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
rename got_commit_graph_iter_start() to got_commit_graph_bfsort()
This function begins a breadth-first traversal. The new name makes
it easier to distinguish from got_commit_graph_toposort().
- Commit:
e12cc036c3e7a71d71bb6a83a9a97bd53f5ba497
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got rebase' find a merge base with topological sorting if needed
Fixes a problematic case of spurious conflicts encountered by
naddy@ on landry's firefox package git repository.
The current implementation of toposort is expensive, so this might
make rebase appear to run slowly on large repositories. However,
this is better than letting users deal with spurious conflicts.
ok op@
- Commit:
83e5e9a11730a93d948aabbafdb2592713eb6f28
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add log -t option which enables topological sorting of commits
Because the current implementation of toposort is expensive, add a
flag which enables it. I would rather not have this option and just
use toposort by default, however more work is required to achieve
acceptable performance.
ok op@
- Commit:
9c177e8d04414b7be4a02d64ed06dcc402a7b0a8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use a define for vi(1) path
This is intended to aid -portable, since other systems may have vi
installed in a different place, or maybe prefer to ship with a
different default editor.
ok stsp@
- Commit:
d0bb0ed648b2dd60e628937450cbaf9200beb9a6
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
plug got checkout and update worktree leaks spotted by op@
- Commit:
8f74b4995a14ceab9270fcd22a5c1ca34c5cc3be
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
plug got status worktree leak found by Kyle Ackerman; ok op@
- Commit:
14eb0fefd04d63b1a8d626e72c953a811a403f7d
- From:
- "Lorenz (xha)" <me@xha.li>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
simplify usage of the 'mesg' histedit script command
The 'mesg' script command now requires a commit ID as its argument,
rather than being tied to a preceding 'pick' or 'edit' command.
The old model was too confusing for new users, in particular for people
used to Git's rebase -i squash semantics.
The 'mesg' command is now semantically equivalent to the 'pick' command
and additionally opens the log message in an editor.
The new syntax is simpler to use but also requires that we drop support
for one-line log messages inside the histedit script, with a commit ID
taking its place in the argument space. We don't believe this feature was
used much, and that a simplified usage model is more beneficial overall.
Patch by Lorenz (xha)
ok jamsek
- Commit:
db82695e31945b3ce001a5fb69674c3638622368
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
copy remote repo info out of work tree data before closing the work tree
Fixes a crash regression introduced when fetch/send were made to close
the work tree earlier.
- Commit:
48d13ac6dbfcb3d6edc18b5d373009c0cec558fa
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got fetch' and 'got send' release the work tree lock earlier
This avoids having work tree operations blocked while network transfers
are in progress.
ok op@
- Commit:
692a4bb1222d6b7c94768d7305a2178a15b05887
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
prevent overlapping repo and work tree in 'got checkout'
Some people are eager to try to make Got work just like Git by overlaying
the repository and work tree. This causes problems with unveil conflicts
at run-time.
Fail as early as possible during 'got checkout' when users attempt this.
cosmetic tweaks + ok op@
- Commit:
07d8d6083dc8bd84b2c7ca96068ce3c35f8c1dbf
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
fix 'got log -dPp' diffstat duplication bug
Only collect changed paths once if both -d and -P are specified;
we already checked for -d and -p. Reported by Lucas on IRC.
Regress for this and the previous (got log -x keyword) commit still due.
ok stsp@ and op@
- Commit:
93c250cd168c2e1d2f9997774c87cc2718373404
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
got: allow 'got log -x' to accept keywords
Suggested by Lucas on IRC.
ok stsp@ and op@
- Commit:
996fba9b2127b5170b74da3dcdf8eabc7a5f8985
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
zap unused got_commit_object var; ok op@
- Commit:
cdbfe5d2325bd7ae7a197ce5e7a93fcdba9097cb
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add cancellation support to the mixed-commits checker in worktree.c
- Commit:
f47e2be5099a39b598f7b96d26b4fa08fdb62374
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
plug got_reference leak in cmd_update()
ok op@
- Commit:
863cc633e270c0edf587982ac9faccf7bb28f339
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
got: improve reporting accuracy in branch listing output
As suggested by stsp, show the out-of-date symbol for the work tree branch if
it is not only out of date in relation to the branch tip but also if it
contains mixed commits. Update regress and add new test to check for this case.
Also, explain the mixed commit condition of * and ~ markers denoting work
tree state in got(1) branch -l docs.
ok stsp@