Commits
- Commit:
ff56836b1637f806bb308057ef9bd6d90b725568
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
Make 'got add' always require the -I option in order to add ignored files.
- Commit:
e67867107a97eae4801a85636493efb4239a61cd
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
mention 'gotadmin cleanup' wherever Git's garbage collector is mentioned
- 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:
f6343036aa4d7e3805a44832b566b531271c1c6d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
new -I option for 'got status' to show files which match an ignore pattern
- Commit:
1d0f405485b02cc4480ea188879e4122e0ea32bd
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
check for close(2) error in got_repo_close() and propagate errors up
ok tracey
- Commit:
1a1242a9a15f34878343aebfb28a71e0c5d9b904
- From:
- Klemens Nanni <kn@openbsd.org>
- Date:
diff: reduce duplicate code
Condense error checking to reduce a future diff moving those lines around;
this pattern is already used in other parts of the tree.
fine stsp
ok tracey
- Commit:
9e822917b02cb36e8dd86a73a51ddfd57baa6c25
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
rebase/histedit -l: error out if no backups for the requested branch exist
- Commit:
e3199de8d492801af7a1268d0bd0e8339074a9cd
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix strftime return value check; found by jrick
- 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:
ec6d1a368f4f81cda70f8517eb0dec5028b847b8
- From:
- Josh Rickmar <jrick@companyzero.com>
- Date:
Fix strftime(3) short buffer checks
strftime(3) returns 0 if the buffer was too short to write the
complete string (including NUL) and will never return more than
maxsize-1.
ok stsp
- Commit:
34d4e04c36ba27442a4c0c7187e648ce03e23275
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
include remote branches in the output of 'got branch -l'
This makes it easier to discover the existence of copies of remote
branches in the local repository, and fixes a missing asterisk in
'got branch -l' while the work tree is switched to a remote branch.
Prompted by feedback from helg, thanks!
- Commit:
8ea5c9979e9868aea3b985582195d97ace1f9665
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
got info: fix a pasto in an error message
- Commit:
df3ed485f4148d31d1b555abb99fcba42c1a49b7
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
simplify the error message shown when 'got rebase' has nothing to do
- Commit:
28cf319f780087bba863715f31d4ec417eb87a6d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add 'got commit -F' option to commit with a log message stored in a file
To avoid accidents commit -F opens the prepared log message in an editor
so it can be reviewed before the commit is created.
For non-interactive use the -N option is required in addition to -F.
ok millert@
- Commit:
a5a46be28fbbc316a4ce0adb5d92571a59a7e115
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
in 'got clone', allow -l together with -q, for consistency with 'got fetch'
- Commit:
56b63ca4ab1049de6fa2d6910ce22c16e2b42a53
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make fclose(3) failure checks consistent; check 'fclose() == EOF' everywhere
ok millert, naddy
- Commit:
56d0a75325a6ada09ad4f1c586f7fde7971b52f6
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
let 'got clone' write gitconfig directives that match the generated got.conf
- Commit:
99495ddb79841fe89b0746d35a49bb81e9220096
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a 'reference' directive to remote repositories in got.conf(5)
Make use of this in 'got clone' to persist -R option arguments given on
the command line in the cloned repository's got.conf(5) file.
- Commit:
0c8b29c50669cb8958428fbf923f02a5b69184db
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add a 'fetch-all-branches' configuration setting to got.conf(5)
Set fetch-all-branches in the got.conf(5) file created by 'got clone -a'
in order to make a future 'got fetch' act like 'got fetch -a' by default.
- Commit:
132af4a5fe242aab94fc8049abfb80888c26395f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
store all branches passed via 'got clone -b' in got.conf(5) and git-config(1)
- Commit:
612392ee9a232ecb6f4f9db91eafbe6693509bd9
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
allow the 'got fetch' -l option together with the -q option
Make use of this in tests to hide useless output from ssh(1).
- Commit:
15d3c221e34cad474e87c43111417186822c887c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got clone' pin the fetched branch in got.conf(5)
Avoids relying on the server-side HEAD ref by default during future fetches.
- 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:
d9dff0e5c658f1bef8647522dcb5b851b3f4734e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
switch reflist to TAILQ; insert elements more efficiently for sorted input
ok naddy
- 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