Commits
- Commit:
0c82d2673963812bc99130161de856f2aaf48612
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
sync with OpenBSD parse.y
Explicitly cast "char" to "unsigned char" when assigned to "int"
to prevent sign extension from breaking comparions against EOF or
passing invalid arguments to ctype functions.
- Commit:
5d8cbca3b331d9f20dc4ee509342988c82e11656
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
pull in a type fix from the OpenBSD parse.y template
Original commit message by deraadt:
(unsigned) means (unsigned int) which on ptrdiff_t or size_t or other
larger types really is a range reduction...
Almost any cast to (unsigned) is a bug.
- Commit:
14af92996aee5b567441c4d2d56d236d8c979bed
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
fix unsigned/signed char mismatch in parse.y
ok stsp
- Commit:
abc59930d57a2d46c310e1b0c758c948554bc1af
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
indentation fixes
- Commit:
c2d7bc3f2831dfbe9406b0858dbae9384247467d
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
remove superfluous strdup(3) from parse.y files; Patch by Martin Vahlensieck
- Commit:
f08eaca092150217800d58a98ee47b078ef8689b
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
reintroduce allowing empty fetch and send blocks with correct grammar. ok stsp@
- Commit:
6480c871c8f9ffdce90c10e7a7313e1187de019a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
provide separate send {} and fetch {} configuration blocks in got.conf
Feature requested by naddy.
ok naddy, who also suggested some tweaks that will arrive shortly
- Commit:
92952c0ecd960182cd5822e21126351bff23ad61
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
stop allowing empty send {} or fetch {} blocks; yacc complained about grammar
yacc has been complaining about "shift/reduce conflicts" since
commit 16c4be8c1cab9456f9dd0468c27f8ab73235737e
Revert that change for now. Not sure how it can be done properly.
In any case, allowing empty config blocks is not very important.
- Commit:
7c84ef0790275b20085c4f2f5d6543da4fa9cb27
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
reject port number zero
- Commit:
aaf30ee7d7d84dcb4161aea893265400f9f19c13
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
rename variables to avoid too much repetition of the term 'repo'
- Commit:
26ac815fc44811dc1fa663baa02c1a65836dd649
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
remove unused name variables, noticed by naddy@
- Commit:
0ff2bf469bd8c4cf24498832b2937041076a7d7f
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
clean up weird grammar. not sure what i was thinking.
- Commit:
16c4be8c1cab9456f9dd0468c27f8ab73235737e
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
fix to allow empty send and fetch blocks, ok stsp@
- Commit:
cfd923335bc72b12508df8bafe2f19ea43ddd4ad
- From:
- Tracey Emery <tracey@traceyemery.net>
- Date:
add send and fetch plumbing to parser for got.conf
This is the beginning of support for naddy's suggestion to break this out
similar to git. More code to come from stsp.
ok stsp@
- 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:
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:
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:
8de9818afbf2fe5b7ea4d111c855797516f04a2b
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
remove unused #includes from the new got-read-gotconfig/parse.y
ok tracey
- Commit:
257add310e4b16ae43b467b91f66b773da39f470
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
add got.conf(5) configuration file
ok tracey