Commits
- Commit:
102bee52e88d073c605a590258abf0255dca2b67
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
cvg: restore accidentally deleted "tag" and "add" man page bits
ok jrick
- Commit:
ee27b57e0fcb14468a5b8a9cd8414b475267cddb
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
abort histedit if the user quits the editor without saving the script
Also document that the commit/import/tag operations are aborted when
the user fails to save the log message from the invoked editor.
ok jamsek stsp
- Commit:
5a6c61ae36e76ef40d6bac927cc3adea2fa54079
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
always report stat() error with path
ok stsp
- Commit:
6efe6ea96a3b926e024566b15a6c0bb9f5ce0c79
- From:
- Josiah Frentsos <jfrent@tilde.team>
- Via:
- Mark Jamsek <mark@jamsek.dev>
- Date:
tog: fix double-free in blame view error path
open_diff_view() has already called view_close() on error.
Patch by Josiah Frentsos.
- Commit:
1494a06e4ce25cf1beafa90b6b1f98bdebf9e7e2
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
always report stat() error with path
ok stsp
- Commit:
6a390967d72bf5e54eb669a0cef5ea548662bbbf
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
prevent useless EEXIST errors filling up the global custom error array
While checking out files, do not attempt to create every directory
that exists in the repository tree without paying consideration to
their existence on disk.
Instead, let functions which add files worry about creating any missing
parent directories. This shakes out two other bugs in broken symlink
installation code which ended up passing an absolute path to
add_dir_on_disk() and forgot to report progress in an unreachable code
path that is now getting used.
Problem reported by + ok naddy@
- Commit:
5fb50fce7978aa218c87ec7ac6c3f4e7bf20e5b3
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix typo in a comment
- Commit:
8a00d20d5d6f20fa1ec73be5b8e94557f524626d
- From:
- Josh Rickmar <jrick@zettaport.com>
- Date:
plug got_object_id leak in cmd_log()
backport of b161263abf48e69eb1f05028b633808dfe337357 to cvg
- Commit:
b161263abf48e69eb1f05028b633808dfe337357
- From:
- Mark Jamsek <mark@jamsek.dev>
- Date:
plug got_object_id leak in cmd_log()
ok stsp@
- Commit:
ad6dd0bb6c5ebeafaa57204a04330df6658c3861
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotadmin cleanup: don't delete pack files that are too young
similar to what we do for loose objects, avoid deleting pack files
that were created "too soon" unless -a is given. This prevents
races when gotadmin load, got fetch or gotd are installing a new
pack file and a concurrent gotadmin clean attempts to remove it.
ok stsp
- Commit:
77c65f86323fa18ae23ab5bb93c486a0c840f308
- From:
- Omar Polo <op@omarpolo.com>
- Date:
purge_redundant_pack(): don't special-case .pack or .idx
leftover, the error handling of unlink() a couple of lines below used
to carry a similar special-casing but was dropped; drop it here too.
- Commit:
0317ab6c0ce48babb19e46067d8677892bee130c
- From:
- Omar Polo <op@omarpolo.com>
- Date:
take reachability in consideration when cleaning redundant packfiles
This wraps the cleaning up of loose objects and redundant pack files
under a new functions, making the _prepare() and _complete() functions
unnecessary. It walks the reachable commits unconditionally since
that information is always needed and adapt how we purge loose
objects after this change.
The progress function is changed too and we log `ncommits' first,
followed by the number of loose objects, followed by the rest.
Pack files are now considered redundant when all their objects are
provided by a bigger pack or are unreachable.
ok stsp
- Commit:
02a7e21b3f3a4da1e7a12935ca467231cc145f46
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'gotadmin load' always read data from standard input
This provides better symmetry with 'gotadmin dump', and allows us to pass
the list of references as command line arguments, replacing the -b option.
The -l option now takes an argument which specifies the bundle file rather
than requiring data to be fed on stdin with -l which feels awkward.
ok op@
- Commit:
ca4f2e186c3c2fd07067c568d5558ac9843dfbdf
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
refer to the dump stream's format as "bundle" rather than "dump"
- Commit:
8736d68f78d99fc8f037edcd3d788f182568b393
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix copy-paste error in gotadmin.1 load section
- Commit:
0d23c640a51b599b99c9fe781c54e1bd371bc433
- From:
- Omar Polo <op@omarpolo.com>
- Date:
unfold a line
- Commit:
f254a62dd329cbfad934b920af5fc03bbe65f406
- From:
- Omar Polo <op@omarpolo.com>
- Date:
gotadmin load: don't add a newline when listing refs
the newline is only needed after the progress output, which is not
present in the 'listing refs' case.
- Commit:
f7d653fcfcca0cce30313948d6e58d074502c599
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add an initial implementation of gotadmin load
it is intended to be the counterpart of `gotadmin dump' and, just
like it, there's planned support for handling fast-import stream.
At the moment it only deals with git bundles.
ok stsp
- Commit:
a3287e9971f6990ab19426fccf0b41a9b6bc4b68
- From:
- Omar Polo <op@omarpolo.com>
- Date:
plug leak in got_fetch_pack error path
set err and goto done instead of an early return that leaks various
things.
ok jrick
- Commit:
21002b1b278e14573f85a3ec87c2aa5b8da47f49
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove documentation of Got commands which cvg will not implement
- Commit:
705cce7454a397f5c9eaa7a44ef383e0659d1242
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove the cvg ref command; we do not expect that users will need it
ok jrick
- Commit:
0f52093fbc9683aec0c9d1f9a45c1eaed6b8708f
- From:
- Josh Rickmar <jrick@zettaport.com>
- Date:
fix makefile after .c rename
- Commit:
10a2e35ae49b7ac29b900f3a4f4c452c0bf7a095
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
adjust the early intro section of cvg.1
- Commit:
24df9a282b05bb954bc0545435d59100798c7060
- From:
- Josh Rickmar <jrick@zettaport.com>
- Date:
rename cvg/got.c to cvg.c
- Commit:
62fc447c67a98bd1a102ea4cb7b6da95a4d403b9
- From:
- Josh Rickmar <jrick@zettaport.com>
- Date:
Exclude cvg from release builds