git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: GSoC 2016: Microproject

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Feb 19, 2016, 13:03 UTC
Message-ID
<vpq37so26oz.fsf@anie.imag.fr>
In-Reply-To
<CA+DCAeTAmUAciCx33ZHLKReHSy4K-dEeaKSb19qBcQc_U80UJA@mail.gmail.com>
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.

Show 11 quoted lines
> 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/
Previous: Mehul JainNext: Mehul Jain
Message 2 of 18 in “GSoC 2016: Microproject”
  1. Mehul JainFeb 19, 2016
  2. Matthieu MoyFeb 19, 2016
  3. Mehul JainFeb 19, 2016
  4. Stefan BellerFeb 19, 2016
  5. Mehul JainFeb 19, 2016
  6. Mehul JainFeb 20, 2016
  7. Matthieu MoyFeb 21, 2016
  8. Mehul JainFeb 21, 2016
  9. Matthieu MoyFeb 21, 2016
  10. Karthik NayakFeb 22, 2016
  11. Mehul JainFeb 22, 2016
  12. Duy NguyenFeb 22, 2016
  13. Mehul JainFeb 22, 2016
  14. Duy NguyenFeb 22, 2016
  15. Mehul JainFeb 22, 2016
  16. Lars SchneiderFeb 22, 2016
  17. Lars SchneiderFeb 22, 2016
  18. Mehul JainFeb 21, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.