Commits
- Commit:
a0d0cee33744c6d55a864129482271bd1085781e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
enumerated_objects expect SHA1 digests still
- Commit:
4fe8d34ef23f6b76983ecac616eab6e9a56be151
- From:
- Omar Polo <op@omarpolo.com>
- Date:
use full id length
- Commit:
079a296c54f560fb82144704231757db030e9b03
- From:
- Omar Polo <op@omarpolo.com>
- Date:
fix fallout; mostly struct got_object_id zeroing
- Commit:
2d9874c22b16a541dd8300cf257123c5aaf88e5e
- From:
- Omar Polo <op@omarpolo.com>
- Date:
bump hash size and add algo field to got_object_id; fix a few places
- Commit:
42b6bfc81cdd6a9cba14c9d8916aeddbe561a356
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add field to got_packidx to propagate the hash algo
allows to drop all the `algo' hardcodings in lib/pack.c and pack_idx.c
- Commit:
d6720956975e97012cad5147fc6fa9b599a72b1b
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add an hash algo field to got_pack - maybe useless
- Commit:
a41a7d4af7426fd81c7dcb8b98dae1c7d9ea9acd
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rename "sha1" field to "hash"
done with
X ,x/\.sha1/c/hash
X ,x/->sha1/c/->hash
in sam after loading all the C files; except for one manual tweak in
hash.c
- Commit:
4123af3c87c004ce1cbcb2b9e33521eb235603f1
- From:
- Omar Polo <op@omarpolo.com>
- Date:
rename lib/sha1.c to lib/hash.c
- Commit:
e83f12a6cd77a496e5c30f0154aced0d04962189
- From:
- Omar Polo <op@omarpolo.com>
- Date:
include sha2.h where sha1.h is included
- Commit:
ec218e165dfd906f44ad491671127ca4b6979ed0
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
got: use intermediate pointers to plug leak on realloc
And save worktree_branch_len for reuse.
ok stsp@ and op@
- Commit:
188f8dcf2c1c15bf37859e3b587bc6331fd5a097
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix interaction of 'got fetch -b', got.conf, and work tree
Without branches in got.conf for a remote, and without -b/-R options,
the fallback to HEAD would only work when not invoked in a work tree.
With this fix 'got fetch' should behave as described in the man page.
The -b option now overrides both got.conf and the fallback to the work
tree's branch.
And fallback to HEAD works as expected when invoked in a repository.
Also, do not strictly require remote repositories to provide a branch
from the refs/heads/ namespace. In such cases users should be able to
use -R to select something to fetch.
ok jamsek
- Commit:
27749ea2ddbc482ad434ed865e0f855313db0a27
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got-read-gitconfig: send key-value pairs for extensions
Most extension allow only for a boolean value so the current behaviour
of just sending the extension with a trueish value is fine. However,
some extensions that we could eventually support (like "objectformat")
have a string value. This is a preparatory step towards that.
ok stsp@
- Commit:
c4d35c5bb4f936d0f96bb62d234001b68dc33089
- From:
- Omar Polo <op@omarpolo.com>
- Date:
typo in comment
it serializes the struct got_imsg_tree_entry, not tree_object.
grep aid.
- Commit:
472dfe052943732fea89236959063c8ccdb769aa
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got_imsg_commit_object: use struct instead of buffer for id
ok stsp@
- Commit:
7841c0d12f0a0e3f73db772df3b177a99ac0771f
- From:
- Omar Polo <op@omarpolo.com>
- Date:
got_imsg_object: use struct instead of buffer for id
ok stsp@