git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>
To: Mehul Jain <mehul.jain2029@gmail.com>
Cc: git@vger.kernel.org, peff@peff.net
Subject: Re: GSoC 2016: Microproject
Date: Fri, 19 Feb 2016 14:03:24 +0100	[thread overview]
Message-ID: <vpq37so26oz.fsf@anie.imag.fr> (raw)
In-Reply-To: <CA+DCAeTAmUAciCx33ZHLKReHSy4K-dEeaKSb19qBcQc_U80UJA@mail.gmail.com> (Mehul Jain's message of "Fri, 19 Feb 2016 14:29:03 +0530")

Hi,

This is a double-post. You've posted almost the same message under the
title "GSoC 2016". Nothing serious, but attention to details is
important if you want to give a good image of yourself.

Mehul Jain <mehul.jain2029@gmail.com> writes:

> Hello everyone,
>
> I'm Mehul Jain. I'm looking for participating in GSoC 2016.

Note that we are just submitting our application, but have no guarantee
that the Git organization will be accepted for this year's GSoC.

> I've started work on a Microproject" Teach git pull --rebase the
> --no-autostash" option. While looking at Git's source code I have made
> following observation: In the pull.c file
> 1.  git_config_get_bool( , ) search in the configuration key for the
> value of rebase.autostash, if found true then modify autostash's value
> to a non-zero number and thus making a stash to encounter the problem
> of dirty tree.
> 2. Here if in command line a flag "--no-autostash" is given then we
> can easily set the value of autostash = 0 and thus killing the process
> by die_on_unclean_work_tree(prefix).
> Is my observation is right?

I don't have all the code in mind, but I think it is. In this situation,
you always end up with a variable telling Git what to do (I guess,
autostash here), and this variable is set according to the configuration
and the command-line.

You should be careful about the precedence: command-line should override
the configuration. And the default behavior should be used if neither
the command-line nor the configuration specified otherwise.

To get an example, you can pick any pair (command-line option, config)
that work together, find the code implementing it and blame to find the
corresponding commit.

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

  reply	other threads:[~2016-02-19 13:03 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-19  8:59 GSoC 2016: Microproject Mehul Jain
2016-02-19 13:03 ` Matthieu Moy [this message]
2016-02-19 17:39   ` Mehul Jain
2016-02-19 17:50     ` Stefan Beller
2016-02-19 18:32       ` Mehul Jain
2016-02-20 14:43       ` Mehul Jain
2016-02-21  4:55         ` Matthieu Moy
2016-02-21 16:04           ` Mehul Jain
2016-02-21 18:52             ` Matthieu Moy
2016-02-22  8:10               ` Karthik Nayak
2016-02-22 10:12               ` Mehul Jain
2016-02-22 10:20                 ` Duy Nguyen
2016-02-22 10:30                   ` Mehul Jain
2016-02-22 11:21                     ` Duy Nguyen
2016-02-22 12:28                       ` Mehul Jain
2016-02-22 10:21                 ` Lars Schneider
2016-02-22 10:30                   ` Lars Schneider
2016-02-21 16:02       ` Mehul Jain
  -- strict thread matches above, loose matches on Subject: below --
2016-02-27 13:04 GSoC 2016 Microproject Sidhant Sharma
2016-02-27 13:28 ` Matthieu Moy
2016-02-27 15:20   ` Sidhant Sharma
2016-02-27 16:12     ` Matthieu Moy
2016-02-28 10:12       ` Sidhant Sharma
2016-02-29 14:51         ` Sidhant Sharma
2016-02-29 15:04         ` Matthieu Moy
2016-02-29 15:32           ` Sidhant Sharma
2016-02-29 15:51             ` Matthieu Moy
2016-03-01 11:38               ` Sidhant Sharma
2016-03-01 12:22                 ` Thomas Gummerer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=vpq37so26oz.fsf@anie.imag.fr \
    --to=matthieu.moy@grenoble-inp.fr \
    --cc=git@vger.kernel.org \
    --cc=mehul.jain2029@gmail.com \
    --cc=peff@peff.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).