Commits
- Commit:
6879ba4225a833ea466b3512329293abfd9bf33a
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
do not treat the -h and -V flags as errors
When run with the -h or -V option, output the help or version text
to stdout and exit with success (0). Only write usage and help
information to stderr and exit with error (1) if there is a mistake
in the command syntax.
tweak and ok stsp
- Commit:
0f84e4996c5a10d8ffca30998a7c99883e142e9e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
bump version number
- Commit:
2b451e1aef28a44c2e25e2bc6098ca0c8982271b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
changes for 0.42
- Commit:
f535bcd44604b1994b9d4fe351236dc1a69758d8
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix 'bad path' error from 'got clone' by unveiling the repository path again
Problem found by jrick
- Commit:
9814e6a376df853a88deb889d68f178c803ad8ca
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
prefer the BSD extension to reset getopt over the GNU one
Sadly there is no portable way to reset getopt(3).
BSD: optind = 1; optreset = 1;
GNU: optind = 0;
ok stsp
- Commit:
1367695b58142d73ad701f34f04fe45c4ad2782b
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
fix potential type mismatches between format specifiers and arguments
Cast printf arguments of type time_t and off_t to long long to match
the %lld format specifier on platforms where this might not be the
case. In parse.y, switch the number variable to long long because
all its interactions are with that type anyway.
ok millert stsp
- Commit:
bfa12d5e80568029d33f5d0f2e9cee54bc20db27
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
rework got's commit-time log message modification check
Use a new approach for detecting unchanged log messages: Strip comments
and leading/trailing empty lines from both the initial content and the
modified log message, then compare the result. Do not assume a fixed
upper limit for the length of a line.
Change suggested and patch tested by jrick
typo fix + ok naddy
- Commit:
820059fa2d7c7e7a0c9523368dad51044a088bbc
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
whitespace fixes (patch by jrick)
- Commit:
b8adfa5529205d58ab21c9c8fc76b50068ebbaa2
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add "branch" keyword to got.conf which specifies a list of branches to fetch
ok tracey
- Commit:
cad0b9e88686cab44e7532dfaaa0b5cdd47beb10
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
remove unused #includes
- Commit:
7d6fcfbf569535644f7d090ed9a22e5b113a1426
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
bump version number
- Commit:
5a7c94c188f5c6b38906c7bb7affe26ea3038a4c
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
CHANGES for 0.41
- Commit:
9f6f394340870ce92e48a6d248d41d3d35d3fbf2
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
restore code removed in b5f0780096f443734de8fc503ca92bf737e2a7b2 and complete code so sub directories work in gotweb
This was pointed out by uwerler in IRC.
ok stsp
- Commit:
e03cc83491255ff69034ff6c824f9ba6062fcddd
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
handle failed connection attempts to git:// servers; patch by jrick
- Commit:
b08a0ccd43bb6d5f5cc56ccbb1c5244affccf2a9
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
do not pledge 'got integrate' in a PROFILE=1 build
found by jrick on freenode
- Commit:
04d9a9ecdab02fa65ffe5ade82da586e5442869e
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
allow an interrupted 'got clone' to be resumed by 'got fetch'
Set up config files as soon as possible such that 'got fetch' has enough
information in order to resume an interrupted clone operation. We need to
receive at least a default HEAD branch name from the server before we can
set up our configuration files.
The previous code also verified whether the default branch name supplied by
the server resolved to a commit received in the pack file. This check cannot
be done early but a wrong branch name in a config file can be fixed easily.
- Commit:
66cb1a7f5e4316136ae88f7521bc15e2c07f79c5
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
strip trailing slashes from repository path in got_fetch_parse_uri()
- Commit:
7c0b7f42f3ff191db04c3a8b01078649f1a70b6b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
refactor code which creates config files for 'got clone' using helper functions
- Commit:
a9c2d4c277afebe2aff309e7b43a32185fc37cd1
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix default branch name written to Git config file by 'got clone'
The generated Git config file instructed Git to fetch all branches rather
than the default branch as was intended.
Check generated configuration files in all clone tests in order to catch
such problems in the future.
- Commit:
5e08262609e4b99fae21c63ff12d7c9cbfc981e2
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove redundant leading slashes from repository path parsed from got.conf
- Commit:
0921e08fd73a69dae201e11e6feaf9227be19285
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove redundant leading slashes from repository path when parsing URIs
- Commit:
2751fe645d77dcd3e68167c7d2c26bb9146996d2
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
let 'got clone' try to connect to server before creating repository contents
- Commit:
29c68398c5b5c7fc7ff5534ed3921b6faa9912a9
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
check final repository state in test_histedit_fold_add_delete
- Commit:
5a17689a92bb716ecff551f2a18eab30e762ed6b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix matching the object ID of the first object in a pack index
An object ID which appears first in a pack index was wrongly ignored by
got_packidx_match_id_str_prefix(). The result was a spurious "object not
found" error when this object ID was passed on the command line.
Reported by jrick on freenode who was lucky enough to this edge case!
- Commit:
0a22ca1a5a1261bb7e230db211a205b68e1c3044
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make 'got histedit' collapse folded add+delete operations into a no-op
If a merged commit wants to delete a locally added file, and this locally
added file matches the content which was deleted in the commit being merged,
we can go ahead with the deletion because there is no risk of data loss.
fixes the histedit problem reported by jrick on freenode