Commits
- Commit:
5c5396e5c1ee0b8ede1cce4c7262a946ab1b3970
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add missed `size' initialization for use with getline(3)
ok tb@
- Commit:
e02ef4272327ac8f401337fc9e9f79963b2f0472
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
got.1: list all options which can be used to generate a histedit script
- Commit:
4fb2bb7d5b77a57f2a55890f472f90ebd61755e0
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make gotd repo_read store want/have commit IDs in ID sets rather than arrays
Currently only used to detect and avoid storing duplicate IDs sent in want
and have lines by the client. If in the future we ever wanted to check which
IDs the client has already sent us we could now do O(1) hash table lookups
rather than iterating arrays.
ok op@
- Commit:
6685e2e8b2b4865d3b68e933360528e6382eb28e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
Apply 'histedit -e' wording tweak from James Cook, thanks!
- Commit:
e96d39bf87c8025d794e9c5c5bfcbbca58c216ac
- From:
- Omar Polo <op@omarpolo.com>
- Date:
histedit_parse_list: avoid needless free(line)
getline(3) allows to safely re-use the storage.
While here rename `size' to `linesize', `len' to `linelen', and properly
initialize `linesize' to zero; suggested by tb@
ok tb@
- Commit:
456d8970e17b1f146aeb38a5e330063e190697d3
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
in got.1, clarify what users are expected to do during 'histedit -e'
Gap in the documentation pointed out by James Cook.
- Commit:
5a53ca9d31c0ec26e10887fb404d63242df55002
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fall back to vi(1) instead of ed(1) if neither EDITOR nor VISUAL are set
ed users are reading files with their minds rather then their eyes, and
might therefore be missing important visual clues we write into files
before the user gets to edit them. Use of vi(1) ensures that such clues
will not be missed.
- Commit:
47cb6f8b62ed4ad39838a5d4702f593b23d3e7f2
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix GOT_IMSG_COMMIT_TRAVERSAL_REQUEST
The sending and receiving side are sending the data differently. It
works now by chance since a struct got_object_id is "just" a
SHA1_DIGEST_LENGTH sized buffer, but will break in the future.
Furthermore, the structure of the data as described in got_lib_privsep.h
is not respected, as the path_len field is not transmitted.
Change it to send/receive a whole struct got_object_id, the path without
the NUL and the proper length. (The path is also actually mandatory, so
assert it too.)
improvements + ok stsp@
- Commit:
d6baa0f6da2663235688f774619dbf494add2f27
- From:
- Omar Polo <op@omarpolo.com>
- Date:
remove now unused sha1 handling from inflate and deflate
both were changed to use the new got_hash APIs.
- Commit:
c3b9af18468be6672f62e2d321b5fc2893837c62
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
add xfail test for "got update" replacing a file with a directory
ok stsp
- Commit:
1eb5d2a086f570f5bd47339ea2f7e477d9503422
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
regress: git_rm will cd into the test repo by itself
- Commit:
e2bd307e144cf6a7c5a878d68e04bd8c744153ea
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
merge TODO wording tweak: 'got rebase' says "forwarding", not "fast-forwarding"
- Commit:
80be18be44c18ed586311d60524d01633b94cf6f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix bad wording used in previous commit
- Commit:
1756e377b0f3d32399f9bb06d235b261190cbf2f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a TODO item for 'got merge' based on IRC discussion with James Cook
- Commit:
017d8b7bf9006ae1bc36f6b1a38978f2782b363f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
properly initialize csum struct in write_packed_object()
fixes send.sh test fallout on arm64 and should also fix i386
ok op@