Commits
- Commit:
2161bc24065b9b58f71cbffbb8b65a9546e134f2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix some fd leaks in error paths and avoid some double close
Sweep done after a few were spotted by tb@, thanks!
ok stsp@
- Commit:
e2766b2cfe846879e3e4de660bc7e7af350a384b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd TODO: category grouping support
- 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:
ad4e3a354f1e08e1a53e4864a5f004659d17acc6
- From:
- Omar Polo <op@omarpolo.com>
- Date:
style
- Commit:
41208069f572694ef8847dbe9d9a47337f7083bd
- From:
- Omar Polo <op@omarpolo.com>
- Date:
patch: handle NULs in lines
got patch assumes that lines can be encoded as strings, so embedded
NUL bytes truncates what got sees of the line.
While here, add some minor semplification to the logic by splitting
the type out of the line string and change linecmp into lines_eq
(name suggested by stsp@)
ok stsp@
- Commit:
23b95dce1cd50b4b3fbd7402c34b6eb155e3dbc8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
i can't count
- Commit:
87bd0c08f248a23b64471e77d2b081d5b04b4fa5
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix gotadmin cleanup -a documentation: it also removes pack files
ok stsp@
- Commit:
39ccd01728db4a4cd45f03fdb4e8bfe7a8c16b0a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'tog diff' release the work tree lock earlier
Avoids 'work tree is already locked' errors from got commands while
the 'tog diff' command remains running.
- Commit:
b610c677694f4118404d76458ed7f75c0feb4bab
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
slightly reword 'got merge' documentation to hopefully be more clear
- Commit:
7781b9910fcbba579c2e112bbfdea73a64ccad70
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: render all the datetimes in a time tag
fixes an unused variable that should have been dropped in previous
commit too.
ok stsp@
- Commit:
bf26a633636ba2058b6bb747b0dd4ab17cb185a8
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: inline the only use of TM_RFC822
- Commit:
f82755119394cfc406b17844a3a159cc75369275
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotwebd: typo; fix closing of dd tag
- Commit:
2e2450f50c41d866e20dec2ad4d9eafa3c19f2ba
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: make patience the default diff algorithm
As discussed on IRC. It makes nicer diffs and the performance hit should
only be noticeable with the odd large diff. It might also be a motivator
in trying to speed up the patience implementation.
ok stsp@
- Commit:
f73bf5bd9e54af999a744c731dfb492e1c9b2b6d
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
replace "(cd path && git cmd)" with "git -C path cmd"
This matches the existing use of "got -r path cmd" and
"git_commit path args".
- Commit:
107723488a685ddd492f1539cfc13a88a4c34ca1
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
honor fetch_all_branches configuration again
Fix a regression in db82695e31945b3ce001a5fb69674c3638622368 where
the fetch_all_branches configuration setting from got.conf was dropped
and always defaulted to "no".
Add corresponding regression test.
ok stsp
- Commit:
1ef7649d68d2231933ee3e0059257bea8f3f8a7f
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
put actions in test_fetch_all into more logical order
ok stsp
- Commit:
cea040d131a5c2248c94a55976a83d255a4d3a06
- From:
- Omar Polo <op@omarpolo.com>
- Date:
vertical align briefs age and author
- Commit:
1eb651da6aa7d016f6c30a0417b4259f5de7a35c
- From:
- James Cook <falsifian@falsifian.org>
- Date:
in diff error message, say what was being diffed
When trying to run "got ci" adding a large file, this changes the
following error message:
got: diff_atomize_file: Cannot allocate memory
into:
got: /dev/null vs /path/to/the/really/big/file: diff_atomize_file: Cannot allocate memory
ok stsp@
- Commit:
c0cbb5f423a2a6324675956dc85b4090cf70a34c
- From:
- James Cook <falsifian@falsifian.org>
- Date:
handle NULL argument to got_diffreg_result_free
ok stsp@
- Commit:
34f2577ca95d182c98ef00e93d05f4fa1b559094
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
bump version number
- Commit:
9f84980b8968c9e0c02ff0008dccccb2794441b9
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
CHANGES for 0.93
- Commit:
d2be89b7d819e9bf53bdf5f50fcc392d61ecd976
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix expected output; with previous change fetch -l no longer lists HEAD twice
- Commit:
18441876c29142bdeb5910e372da1200c1b7bc20
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make gotsh handle poll timeouts when checking for gotd closing the pack pipe
This will hopefully fix issues seen on servers where gotsh exits early
for no good reason.
- Commit:
ef6234452a17eb17687612d9bd417ded3bf6802d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
actually detect modified files when checking out with -E
When checking out over a pre-existing directory tree with -E, got
would store the checkout timestamp in the fileindex and so not
detect local edits until those files are touch(1)ed again. Instead,
detect that a file already exists during checkout and don't update
its {c,m}time, leaving them to zero (the epoch), so a subsequent
`got status' will look at its contents.
While here, change the status char for such file from ? to E, which
is what the manpage actually documents.
Issue reported by naddy@
ok stsp@
- Commit:
01d78e9e349d8547e36bfe47e4c53acfcef2973d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got send' detect connections that are unexpectedly closed by the server
ok op@