git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Git Newbie - GSoC mini Project
@ 2015-03-04  6:20 Prudhvee Narasimha Sadha
  2015-03-04  7:49 ` Dennis Kaarsemaker
  0 siblings, 1 reply; 3+ messages in thread
From: Prudhvee Narasimha Sadha @ 2015-03-04  6:20 UTC (permalink / raw)
  To: git

Hi,
       I'm a newbie to git. I started  working on git. I cloned the
git repository and started hacking it. I need a suggestion on how to
start working on the micro project "

Make "git -C '' cmd" not to barf".

                                 Thank  you for your suggestion in  advance.


Regards,

Prudhvee,

open source enthusiast.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Git Newbie - GSoC mini Project
  2015-03-04  6:20 Git Newbie - GSoC mini Project Prudhvee Narasimha Sadha
@ 2015-03-04  7:49 ` Dennis Kaarsemaker
  2015-03-04  7:58   ` Matthieu Moy
  0 siblings, 1 reply; 3+ messages in thread
From: Dennis Kaarsemaker @ 2015-03-04  7:49 UTC (permalink / raw)
  To: Prudhvee Narasimha Sadha; +Cc: git

On wo, 2015-03-04 at 11:50 +0530, Prudhvee Narasimha Sadha wrote:
>        I'm a newbie to git. I started  working on git. I cloned the
> git repository and started hacking it. I need a suggestion on how to
> start working on the micro project "
> 
> Make "git -C '' cmd" not to barf".

git -C '' cmd currently throws an error:

$ git -C '' status
fatal: Cannot change to '': No such file or directory

So the two things you should do are

- Determine what the desired behavior would be
- Implementing that behavior

For the first step, I'd send a mail to this list asking people for
input, paying special attention to the responses of the core maintainers
and possible GSOC mentors (I'm not one of them, but I think the error is
actually the right behavior, I'd prefer git -C "$repodir" to bomb out if
$repodir is unset. On the other hand cd '' is equivalent to not cd'ing
at all so there's precedent to change this).

For the second step, you'll need to find the bit of code where the -C
option is handled and add a special case for the empty string to do what
came out of the discussion about wanted behavior.

-- 
Dennis Kaarsemaker
www.kaarsemaker.net

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Git Newbie - GSoC mini Project
  2015-03-04  7:49 ` Dennis Kaarsemaker
@ 2015-03-04  7:58   ` Matthieu Moy
  0 siblings, 0 replies; 3+ messages in thread
From: Matthieu Moy @ 2015-03-04  7:58 UTC (permalink / raw)
  To: Dennis Kaarsemaker; +Cc: Prudhvee Narasimha Sadha, git

Dennis Kaarsemaker <dennis@kaarsemaker.net> writes:

> For the first step, I'd send a mail to this list asking people for
> input,

I'd even put that as step 2. Step 1 would be: watch the list and see if
anyone is not already working on it. Hint, hint ...

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-03-04  7:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-04  6:20 Git Newbie - GSoC mini Project Prudhvee Narasimha Sadha
2015-03-04  7:49 ` Dennis Kaarsemaker
2015-03-04  7:58   ` Matthieu Moy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).