Commits
- Commit:
c80f5f010956d72c751b435eca30d106a3ac5a26
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
bump version number
- Commit:
1252b141a24712b26eb542ab74c4904aa4ed5829
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
CHANGES for 0.47
- Commit:
888b7d9932412e73b1d3887bc2d7208c37bc6f75
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make use of a reflist object id map in 'got log'
Impoves performance of 'got log' on the FreeBSD Git repo which can easily
contain more than 4000 references.
- Commit:
f0ff8d4c1b171d0a9bceba738489b9ec0e76296f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix tag object leak introduced in previous commit
- Commit:
24202e46491b5a4f4ba5a2988bc1536776dc3545
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add tagged object IDs to reference list object ID map
Fixes display of "/tags/..." commit ID decorators in tog which was
broken in previous commits.
- Commit:
a53af95f5efd3856131a115cb05f361318dac49a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix error return from got_reflist_object_id_map_create()
- Commit:
f193b03845f89ae0e671e5f871fe635020cb7b48
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
rename got_reflist_object_map_free to got_reflist_object_id_map_free
- Commit:
dae613fa0e1938aee68699d7118412f82912facf
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove a comment that is now misleading
- Commit:
d9dff0e5c658f1bef8647522dcb5b851b3f4734e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
switch reflist to TAILQ; insert elements more efficiently for sorted input
ok naddy
- Commit:
87670572d0f25fb0137be54add50dd728195bb0d
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
switch the "tog <path>" log view shortcut to the global reference list, too
ok stsp
- Commit:
84de91061b4d6cf5649efd5a42c4c3b90550332c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
Add a refs argument to got_repo_match_object_id(), replacing 'resolve_tags'
Make use of this where possible to avoid re-reading references from disk.
ok naddy
- Commit:
8924d611db93087fb80e3221b1876b5ebabe5f0b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
switch tog ref view to the global reference list as well
ok naddy
- Commit:
51a10b52c0575add67661e603b216358d68f8ed8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make tog store refs and object id map in global variables instead of per view
ok naddy
- Commit:
cc63216e4c9ca57c8711120fc6028ed5d5e2dde9
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
update got.1 CAVEATS section; prompted by feedback from otto@
- Commit:
d2075bf3e6019b7903ce19414f09348839e36fbc
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make use of reflist object id maps in tog log and diff views
This is a partial fix for performance issues when browsing the FreeBSD
Git repo, which can easily contain more than 4000 references.
ok naddy
- Commit:
7b5b670e542e9a69edcd9c3d76ce9ab4a3855c6f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
implement an object ID map for reference lists
ok naddy
- Commit:
4c4ce67b628a0b29afb50487072e667ee37e1dad
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix assignment to wrong pointer in got_ref_dup()
ok naddy
- Commit:
838b0131d8d64c37bbb7caaeba7c23fc018fb941
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
bump version number
- Commit:
22cbd110a84356ef531788b7f5ad19070fc8b3cb
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
CHANGES for 0.46
- Commit:
9a02f8b79138972ddde059e5683108d07b409289
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
switch to strerror_r(3) in error.c for thread-safety
- Commit:
c884fd0a8efbd1c76504f46ddb5b688134983a3a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
introduce got_custom_error array to support multiple errors in flight
This is still not thread-safe but at least avoids errors overwriting each
other in single-threaded contexts.
- Commit:
ccf6dd5ee6c1143dcf745ddc604e192389882a38
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
avoid signed vs unsigned comparisons in fetch.c
ssizeof() macro idea courtesy of millert@
ok millert@
- Commit:
c156c7a4f456c171f9e458793a2baa06389f8e1e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
do not mix up repositories if tog's -r option is used inside a work tree
with input from and ok naddy
- Commit:
5a8b373cd01671285df647379299fbc5f49707c1
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix parsing of tag objects which lack a tag message
This problem could be triggered with the u-boot repository:
$ git clone --bare https://gitlab.denx.de/u-boot/u-boot.git
$ got log -r u-boot.git
got-read-pack: bad object data
got: bad object data
$
- Commit:
e8bfb8f3994fa8096bf56db895d969b4961f8b4b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix path existence check in got_object_tree_path_changed()
A symptom of this was a segfault in 'got blame distrib/miniroot/install.sub'
with the OpenBSD src.git from github, reported by jrick.
The problem was that the commit graph traversed one commit too far.
This could be more easily reproduced with 'got log':
got log -c 05f568 -P distrib/miniroot/install.sub
Which listed two commits instead of just the first one:
05f568ecc6aadefa1aff9064a29e798874a71409 <-- install.sub first created here
7c0d87f00e480cdf004324dad6f3e6f4418f8f42
"distrib/miniroot" exists in 7c0d87f00e480cdf004324... but not in the parent
of this commit. Ensure that we traverse the full path in tree1 even if an
intermediate tree2 cannot be opened. Instead of reporting success and a file
change if we can't traverse further through tree2, we now hit this failing
attempt to open the file 'install.sub' in tree object 180aa33df8d1 (tree1):
te1 = find_entry_by_name(tree1, seg, seglen);
if (te1 == NULL) {
err = got_error(GOT_ERR_NO_OBJ);
goto done;
}
fix tested and ok jrick