Commits
- Commit:
87a3ab84d3eb87b790e3d34aeec2c344a8d7375b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
provide functions to parse/serialize different hashes
it abstracts over the hash type and ensures that object ids are zero'ed
before their sha1 digest is written. Needed by the incoming sha256
support.
ok stsp@
- Commit:
bbc740ac4905ed0d4ba6334f6225c8f8c9f3c394
- From:
- Omar Polo <op@omarpolo.com>
- Date:
introduce got_object_id_hex to replace some got_sha1_digest_to_str()
It's an analogous to got_object_id_str but writes to the given buffer.
ok + improvements by stsp@
- Commit:
389a68d86df4adffefba4050e86cd6a8fe6de36d
- From:
- Omar Polo <op@omarpolo.com>
- Date:
provide a getline-style function for blobs
ok jamsek
- Commit:
0d569390539da8c000749a958bde945d57274f50
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add got_object_blob_is_binary function
needed for future use by gotwebd. ok stsp@
- Commit:
34a842a42b1cd020ca656445c0b65e67a97bff1a
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
drop unconventional got_object_commit_dup() routine
Replace with got_object_commit_retain() to increment commit object
reference counter.
suggested by and ok stsp@
- Commit:
568eae9578c8babb5be9eea6c85b9e016a6cdb29
- From:
- Mikhail <mp39590@gmail.com>
- Via:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: add new log view limit feature to filter commits
Use the & key map to enter a pattern with which to limit the displayed commits
to those matching the provided pattern; similar to less(1) and mutt's limit
feature. Includes various tweaks from op.
ok plus fixes from op@
- Commit:
5e91dae4dd43b8024731223110ab18f505f453ac
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove trailing whitespace; patch by Josiah Frentsos
- Commit:
4d5ee9564a9e46a1f634f619833c62f636cfbdc1
- From:
- Josh Rickmar <jrick@zettaport.com>
- Date:
create and verify tags signed by SSH keys
This adds a new -s flag to 'got tag' that specifies the signer
identity (for example, a key file) of the tagger. The tag object will
include a signature that validates each of the tag object headers and
the tag message.
Verifying these signed tags requires maintaining an allowed signers
file which maps signer identities (i.e. the email address of the
tagger) to SSH public keys. See ssh-keygen(1) for more details of the
allowed signers file. After creating this file and providing the path
to it in got.conf(5) using the allowed_signers option, tags may be
verified using with 'got tag -V tag_name'. The return code will be
non-zero if a signature fails to verify.
ok stsp@
- Commit:
eb81bc23c735e8aa9eaee796a230c7d7c76657ba
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
move got_opentempfd out of open_blob. ok stsp@
- Commit:
d7b5a0e827bb38e5c8502f0ba8d7838fedaba19b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
inline struct got_object_id in struct got_object_qid
Saves us from doing a malloc/free call for every item on the list.
ok op@
- Commit:
a44927cc053de352796022400f27bce4522b407c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
stop relying on commit cache for good performance of got_object_id_by_path()
Instead of internally opening and closing the same commit object over and
over again, require callers to pass an open commit object in. Avoids an
inherent dependency on the commit object cache for reasonable performance.
ok op@
- Commit:
c0df59665de91324eeab1808c6c4e41343f21789
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
wrap overlong lines
- Commit:
67b631c9e0d2c43ceeda1a387ba696b2d34a1035
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
implement 'got diff -c' for diffing commits with optional filtering by path
Need for filtering by path sugggested by kn@
ok naddy@
- Commit:
dbdddfee1482b50ca8c4a0be06e4fec6a59fb9f4
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
switch from SIMPLEQ to equivalent STAILQ macros
The singly-linked tail queue macros were added to OpenBSD 6.9 and
are more widely available on other systems.
ok stsp
- Commit:
9ca9aafb026269aef00e469133fb7d1e3c224952
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
introduce got_object_id_queue_copy()
This will be required by a future 'gotadmin pack' command.
- Commit:
74a2356f3bd54be374a23546704e7ec7c876a247
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a user data pointer to struct got_object_qid
This will be required by a future 'gotadmin pack' command.
- Commit:
be659d10a8dd75e169fb7a246f54238dfc4386e8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix type of filesize output parameter of got_object_blob_dump_to_file()
- Commit:
af57b12ab516c7fa5ecc8bd00db5637240411ed7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add symlink support to 'got cherrypick'; test non-conflict cases only for now
- Commit:
e40622f412c8f937c81a8f76aa780647ea7392bf
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add got_object_tree_entry_is_symlink() and got_object_resolve_symlinks()
- Commit:
8ba819a3547825c0e0d657a7e41610da16f6cd4f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
let 'got checkout' create symlinks in a work tree
- Commit:
0d6c6ee302022b4b2746cd5a85df1f34f8891b9c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got/tog tree' show symlink targets like 'ls -lF' does: link@ -> target
- Commit:
56e0773df7e12fc69c1f6f9d171c93fd78a13d0e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
convert tree entries from SIMPLEQ to an array
- Commit:
63c5ca5de411be54e75480b0efec04014ffab46e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
detect and ignore Git submodules
- Commit:
8e7bd50a820730b5f8356254f7a44fa922fab3bc
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
initial implementation of 'got tag' command
- Commit:
8aa93786da2fe8d0c2714dcda5c6a0d4676b08c1
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got cat' output look more like raw object files