{"thread":{"id":"38699","subject":"Git Newbie - GSoC mini Project","startedAt":"2015-03-04T06:20:44Z","lastAt":"2015-03-04T07:58:21Z","messageCount":3,"participants":["Prudhvee Narasimha Sadha","Dennis Kaarsemaker","Matthieu Moy"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"256962","messageId":"CAMS+ib3LRT0xSzW-8Qkubbxc22RSifq=V8Za6TCrbDi2ko2ekA@mail.gmail.com","threadId":"38699","inReplyTo":null,"subject":"Git Newbie - GSoC mini Project","fromName":"Prudhvee Narasimha Sadha","fromEmail":"prudhvi.sada@gmail.com","sentAt":"2015-03-04T06:20:44Z","receivedAt":"2015-03-04T06:20:44Z","isPatch":false,"sender":{"key":"prudhvi.sada@gmail.com","avatar":null},"body":"Hi,\n       I'm a newbie to git. I started  working on git. I cloned the\ngit repository and started hacking it. I need a suggestion on how to\nstart working on the micro project \"\n\nMake \"git -C '' cmd\" not to barf\".\n\n                                 Thank  you for your suggestion in  advance.\n\n\nRegards,\n\nPrudhvee,\n\nopen source enthusiast.\n"},{"id":"256970","messageId":"1425455386.1193.17.camel@kaarsemaker.net","threadId":"38699","inReplyTo":"CAMS+ib3LRT0xSzW-8Qkubbxc22RSifq=V8Za6TCrbDi2ko2ekA@mail.gmail.com","subject":"Re: Git Newbie - GSoC mini Project","fromName":"Dennis Kaarsemaker","fromEmail":"dennis@kaarsemaker.net","sentAt":"2015-03-04T07:49:46Z","receivedAt":"2015-03-04T07:49:46Z","isPatch":false,"sender":{"key":"dennis@kaarsemaker.net","avatar":"https://avatars.githubusercontent.com/u/200649?v=4"},"body":"On wo, 2015-03-04 at 11:50 +0530, Prudhvee Narasimha Sadha wrote:\n>        I'm a newbie to git. I started  working on git. I cloned the\n> git repository and started hacking it. I need a suggestion on how to\n> start working on the micro project \"\n> \n> Make \"git -C '' cmd\" not to barf\".\n\ngit -C '' cmd currently throws an error:\n\n$ git -C '' status\nfatal: Cannot change to '': No such file or directory\n\nSo the two things you should do are\n\n- Determine what the desired behavior would be\n- Implementing that behavior\n\nFor the first step, I'd send a mail to this list asking people for\ninput, paying special attention to the responses of the core maintainers\nand possible GSOC mentors (I'm not one of them, but I think the error is\nactually the right behavior, I'd prefer git -C \"$repodir\" to bomb out if\n$repodir is unset. On the other hand cd '' is equivalent to not cd'ing\nat all so there's precedent to change this).\n\nFor the second step, you'll need to find the bit of code where the -C\noption is handled and add a special case for the empty string to do what\ncame out of the discussion about wanted behavior.\n\n-- \nDennis Kaarsemaker\nwww.kaarsemaker.net\n"},{"id":"256975","messageId":"vpqfv9ltcrm.fsf@anie.imag.fr","threadId":"38699","inReplyTo":"1425455386.1193.17.camel@kaarsemaker.net","subject":"Re: Git Newbie - GSoC mini Project","fromName":"Matthieu Moy","fromEmail":"matthieu.moy@grenoble-inp.fr","sentAt":"2015-03-04T07:58:21Z","receivedAt":"2015-03-04T07:58:21Z","isPatch":false,"sender":{"key":"matthieu.moy@grenoble-inp.fr","avatar":"https://gravatar.com/avatar/72c8a2705971a25dfaff23cece15130d405685845d911aedd5667ace277f3fc5?d=mp&s=160"},"body":"Dennis Kaarsemaker <dennis@kaarsemaker.net> writes:\n\n> For the first step, I'd send a mail to this list asking people for\n> input,\n\nI'd even put that as step 2. Step 1 would be: watch the list and see if\nanyone is not already working on it. Hint, hint ...\n\n-- \nMatthieu Moy\nhttp://www-verimag.imag.fr/~moy/\n"}]}