commit - 7c84ef0790275b20085c4f2f5d6543da4fa9cb27
commit + 92952c0ecd960182cd5822e21126351bff23ad61
blob - dba94813bce80f3ec22679fe997ba51bbdfc8c58
blob + 842552aef596457405a11618bb92b1586d2d094c
--- libexec/got-read-gotconfig/parse.y
+++ libexec/got-read-gotconfig/parse.y
fetchopts2 : fetchopts2 fetchopts1 nl
| fetchopts1 optnl
;
-fetchopts1 : /* empty */
- | REPOSITORY STRING {
+fetchopts1 : REPOSITORY STRING {
remote->fetch_config->repository = strdup($2);
if (remote->fetch_config->repository == NULL) {
free($2);
sendopts2 : sendopts2 sendopts1 nl
| sendopts1 optnl
;
-sendopts1 : /* empty */
- | REPOSITORY STRING {
+sendopts1 : REPOSITORY STRING {
remote->send_config->repository = strdup($2);
if (remote->send_config->repository == NULL) {
free($2);