Commits
- Commit:
161728eb26bf63ad53f11367358ea6190bad8968
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add 'got fetch -X' option for deleting references created by 'got fetch'
- Commit:
da630daa54557a42066707f18f070393197a0243
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make got_ref_delete() report symbolic references as intended
- Commit:
90830082630cd5bcd64ab03af3abeb4c4998d1f9
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
in delete_ref(), only print progress output after deletion has succeeded
- Commit:
f9d54ee65594d2f6180e3844e2e9f6dd3179ee3e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
align messages printed by 'got fetch -d' with 'got ref -d' and -X options
- Commit:
993f033b6f1d781a4ba7970fec46915d08e53502
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got ref -d' print reference name and value like the new -X options do
- Commit:
643b85bcb48e24fd2ca96d415d8e61e1ceef9aad
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
new -X option for removing backups created by got rebase and got histedit
ok semarie
- 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.