Commits
- Commit:
56b63ca4ab1049de6fa2d6910ce22c16e2b42a53
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make fclose(3) failure checks consistent; check 'fclose() == EOF' everywhere
ok millert, naddy
- Commit:
7a90b6809c18acd607a3ff752bb9a2462317c1f5
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
oops, initialize linesize before calling getline(3); from millert
- Commit:
9bdd68dd5c8e79a94fa4a5a69064ba33acd0b27a
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
replace fparseln(3) with getline(3), for better portability
ok stsp
- 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:
d9dff0e5c658f1bef8647522dcb5b851b3f4734e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
switch reflist to TAILQ; insert elements more efficiently for sorted input
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:
16aeacf7088dcd3cd5e654af46a3015cecf41426
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use size_t for loop indices to avoid signedness warnings; from emaste@freebsd
- Commit:
3818e3c42c1ac77dac0c571165dabfe2da05ff2b
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
convert all remaining instances of chmod(2) to fchmod(2)
ok stsp
- Commit:
a1c4175c5155778fc345c2ed8e5fb31904ff3686
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
there is no need to grab locks when opening refs in got_ref_delete()
- Commit:
48cae60d0ae734495d85aa8a8d9409e71cfe7d76
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make dangling symbolic references show up in 'got ref -l'
Storing a resolved ID for each reference list item was a bad idea.
This ID cannot be resolved if a symbolic references points to a reference
which does not exist. Such symrefs were skipped by got ref -l as a result.
Just let users of reference lists resolve the IDs as needed.
- Commit:
2a104ff6e79d3ac7369f542553c609d2b15f1a55
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got ref -d' delete both loose and packed representations of the reference
- Commit:
81a12da58651e79380d81dea7020bf6af20bb28b
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
do not rely on <zlib.h> to pull in <unistd.h>
ok stsp
- Commit:
20ccae39452cdf85f57023c8a7f029b0545adfa7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
cope with directory entries returned from readdir(3) with type DT_UNKNOWN
Such directory entries need special handling to make our directory traversal
code work on filesystems that do not support the d_type optimization.
I found this problem because references stored in the refs/ directory were
not shown by 'got log' and 'tog log' when a repository is mounted over NFS.
helpful feedback + ok millert@
- Commit:
d7b899ab022b3f7c7a42ed1338efa4ad6be626c8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix got_ref_change_symref(); it changed the ref's name instead of its target
- Commit:
75236079c0b50ee24defebe1509f537bae91aefe
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
handle refs/remotes/origin/HEAD properly; reported by Matthias aka _xhr_
- Commit:
b2070a3f25a75399baa9a402542a60326197a053
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
allow for limiting output of 'got ref -l' to a single ref or a namespace
- Commit:
e8a967e0cafdb6604275a9cbfcce988d4f363ef5
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make replacing symrefs actually work in 'got fetch'
- Commit:
9f142382a5e0fa55e6d614fdb1edc3822d3b80ba
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
properly lock references when 'got fetch' needs to update them
- Commit:
f68a789010192e18ab34908cd5fde2d531c35fdc
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make got_ref_list() work on a fresh repository created with got_repo_init()
- Commit:
7fa81f883018bdf9a7067622c62c75734f846454
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
allow 'got ref' to manipulate refs which do not have a slash in their name
- Commit:
d1f166363b86f21241be730505c1182508dc9d2c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
move got_repo_cmp_tags() to got_ref_cmp_tags()