Commits
- Commit:
ee7b409c1f35a02e204ac2e248414c19d73d6f41
- From:
- Theo Buehler <tb@openbsd.org>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
make sure callers of got_object_idset_add() free data.
- Commit:
48b4f239031ad66225f64bd6745f4a57a35c3a0f
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
wrap overlong lines
- Commit:
c56c5d8a20e8209334b5357111eddee0861cddae
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
add "e" (close-on-exec) flag to fopen(3) calls
suggested by millert
ok thomas_adam
- Commit:
a729e2888f2d81208a354bdd20fac750b38c9134
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fall back to comparison by name when refs have the same timestamp
This fixes an issue where some references were missing from lists of
references sorted by timestamp.
- Commit:
fb95e70d03a91abd90acdff115ea7aa7ce29b9a4
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
implement got_reflist_sort() which sorts a ref list in-place
- Commit:
e87a53ff87b118b0f2144d7d2e111986d2380240
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix uninitialized error from got_ref_cmp_by_commit_timestamp_descending()
- Commit:
3bfadbd404f3e18e73d69ad6da6c0dbc8de67097
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
allow sorting references by timestamp in tog
- Commit:
fd3a2fe6d4ac59847dc2b41f799aff0170600728
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
speed up 'got histedit -l' and 'got rebase -l'
Cache commit timestamps in struct got_reference in case we are sorting
references by commit timestamp. This avoids opening and closing commits
every time we compare two references with each other.
ok thomas.adam
- Commit:
b3dc731fefb8046ff69090a0ccdb97bef71aaf65
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
got_sha1_digest_to_str() writes to char *
ok stsp
- Commit:
92a9e85d28a30997176ce0d3c2915e3ea70782c7
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: add FreeBSD support
This adds the capability to compile got-portable on FreeBSD.
- Commit:
dd038bc6ec835ad3fd3c0b5303b8af9ad506c8cc
- From:
- Thomas Adam <thomas@xteddy.org>
- Via:
- Thomas Adam <thomas.adam@smoothwall.net>
- Date:
portable: initial Linux compilation
This commit modifies the GoT main branch to be able to compile it under
linux.
- Commit:
abc59930d57a2d46c310e1b0c758c948554bc1af
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
indentation fixes
- Commit:
63e5aa5c34d2e70074f9c3a1f42b7b7188a785fa
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
Expose got_ref_name_is_valid() for general purpose use.
This will be needed for a future 'got send' command.
- Commit:
cce2f4851ec199cbdf54fd82f3cc5ab38d5d68f3
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
expose got_ref_resolve_symbolic() at the public library API
This will be needed by a future 'got send' command.
- Commit:
72acb3d8f4f1aa47fe21329180083cef02695490
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove unused 'repo' argument from got_reflist_insert()
- Commit:
3f338f0a096f8648ea0bb148ba5e4383d6434eaa
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
track the last modification time of references
- Commit:
5345b4c7e102ec42f81e1b9b229294a0774d9b40
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
allow lockfiles to be used in cases where we have a dir_fd and a relative path
- Commit:
779e1159b25b2aa115e6b42f51003b7e2fa7c06b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
expose the reflist_insert() helper function as got_reflist_insert()
This will be needed by 'gotadmin pack'.
- Commit:
57c181985845591d1fcd97be660feb8e256fd4be
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
validate reference names in open_ref()
This catches invalid reference names passed to 'got ref -l' and will also be
needed to validate reference names passed to a future 'gotadmin pack' command.
ok naddy@
- Commit:
af8a5c4afbbf686b427349764d9a2315d49f99ad
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
plug a memory leak in got_ref_list_free()
Code which inserts a reference into a reflist passes ownership of
this reference to the list. However, got_ref_list_free() never
closed such references, which resulted in a memory leak.
ok tracey
- Commit:
e600f1246e15fff13251ba9d299d74a24ae579c2
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
ensure that old commits remain referenced after rebase and histedit
Create automatic "backup" references which ensure that objects from
the pre-rebase or pre-histedit state remain in the repository.
A new -l option for 'got rebase' and 'got histedit' lists old commits.
This makes it easier to recover from botched rebase or histedit operations.
Removal of such objects currently requires got ref -d and git-gc.
This will be made more convenient in the future.
testing and ok jrick
- 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