Commits
- 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
- Commit:
acfd930bda7c65876653f0f2ad475436dc17ef9f
- From:
- Josh Rickmar <jrick@zettaport.com>
- Date:
Remove unused functions from cvg
- Commit:
3d1b16d126400e28a2cbab66b17dacd47a01763c
- From:
- Josh Rickmar <jrick@zettaport.com>
- Date:
Begin cvg
- Commit:
624411d2da8f88b37d2b440833ce76fa6705bdd3
- From:
- Josh Rickmar <jrick@zettaport.com>
- Date:
Copy got to cvg
- Commit:
4b3827cd43394b89d2af822dcd1d9a9179c1ee10
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make gitwrapper ignore 'permission denied' for repository paths
We recommend that gotsh users should not have direct filesystem
access to repositories served by gotd. Which means admins will be
setting things up as follows if public read-access should be denied:
chown _gotd /git
chmod 700 /git
su -m _gotd -c 'gotadmin init /git/repo.git"
However, gitwrapper would error out when repositories listed in
gotd.conf were inaccessible to the user invoking gitwrapper:
git-upload-pack: /etc/gotd.conf:2: realpath /git/repo.git: Permission denied
Make gitwrapper ignore such errors as they are expected in this situation.
While here, add a PROC_GITWRAPPER process ID for use as a global variable
parse.y can check while special-casing any specific behaviour required by
gitwrapper. (The worse alternative would have been adding a new global
variable to parse.y just to control the behaviour on realpath errors.)
ok op@
- Commit:
2df845d59f19a7c87fc48af1f9d4124e57ebf2b0
- From:
- Omar Polo <op@omarpolo.com>
- Date:
add an initial implementation of gotadmin dump
gotadmin dump is used to export (part of) the history of the
repository; at the moment it only generates git bundles (which are
pack files with a header) but support to generate a fast-import
stream is planned.
ok/tweaks stsp and jamsek
- Commit:
bafea5babab6072bfa7528ad7c767bde76a446a3
- From:
- Josh Rickmar <jrick@zettaport.com>
- Date:
plug a leak in insert_sendable_ref error path
from op@
- Commit:
27555e8e6053ab0cc846d201757b588d5a79293f
- From:
- Josh Rickmar <jrick@zettaport.com>
- Date:
simplify lib/send.c reference handling
Reorganize the reference validation and pathlist generation by
removing the reflist and building a pathlist directly. The pathlist
entries record the object id in their extra data pointer, which also
allows several redundant reference lookups to be skipped.
This will eventually simplify sending target reference names that do
not match the local repo by adding another parameter to
insert_sendable_ref for a remote reference. This remote name will be
added to the pathlist, but validation and object id lookups will
continue to be performed with the local reference.
ok jamsek
- Commit:
51b56d129f9e0504bdf70209c1011a5b077742a6
- From:
- James Cook <falsifian@falsifian.org>
- Date:
remove 'got merge -M' todo item
- Commit:
e19d5545f96f74a0bf980c62af9900f76059e439
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix broken sentence in got.1 (was missing a word)
- Commit:
5662d61df841f27dd548625738d05c59ee54c2a4
- From:
- Josh Rickmar <jrick@zettaport.com>
- Date:
Make got_worktree_get_base_ref_name static
Nothing appears to benefit from this being non-static, and it was
missing from the public API headers as well.
ok stsp@
- Commit:
d556241a037d31a830ef830c6cb301419bb84087
- From:
- Josh Rickmar <jrick@zettaport.com>
- Date:
Define apply_umask earlier, without predeclaration
ok op@
- Commit:
7b53188e4c59d5ce295c92624cacdeee16881abd
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
consistently mention 'got merge' as an alternative to 'got rebase' in got.1
- Commit:
a6c2ea42da6e1783b7d7d50693d18a4c778cde18
- From:
- James Cook <falsifian@falsifian.org>
- Date:
histedit, rebase: document -c, -C are compatible
- Commit:
18877383a0d783b0b642a27b16ccd3d1a212c8a3
- From:
- James Cook <falsifian@falsifian.org>
- Date:
fix option processing for 'got merge'
Don't make -C imply -c (a break statement was missing). Detect -an and
-cn conflicts. Simplify by removing unneeded check for conflicting -aC
(since -C requires -c, we can rely on the -ac conflict being detected).
Update the man page to say -cC is allowed.
- Commit:
481cdc746b012203f39047cbc55f8b65ae40d046
- From:
- James Cook <falsifian@falsifian.org>
- Date:
add -M option: tell got merge not to fast-forward
ok stsp@
- Commit:
13d9dc7e2e880cfe93cf23a39c48427cda7ff636
- From:
- Omar Polo <op@omarpolo.com>
- Date:
bubble up got_repo_commits()
now that got_get_repo_commits() doesn't look at `action' we can stop
fetching the commits during the rendering and bubble up the call.
This yields better error messages and better replies codes on failure.
- Commit:
dcb3fe6d633a560ba73f75438928084d3f1b3e46
- From:
- Omar Polo <op@omarpolo.com>
- Date:
drop hack; got_get_repo_commits() doesn't look at action anymore
- Commit:
f528b33ecc8d05209f34af6472acdbc70f51d285
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
use _POSIX_HOST_NAME_MAX from <limits.h> for portability
ok stsp