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

Re: [RFH] GSoC 2015 application

From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
Date
Feb 19, 2015, 10:32 UTC
Message-ID
<vpqzj8ary29.fsf@anie.imag.fr>
In-Reply-To
<20150218191417.GA7767@peff.net>
Jeff King <peff@peff.net> writes:
> I do need somebody to volunteer as backup admin. This doesn't need
> to involve any specific commitment, but is mostly about what to do if I
> get hit by a bus.

If you promise me to try hard not to be hit by a bus and no one else steps in, I can be the backup admin.

> Where I really need help now is in the "ideas" page:
>
>   http://git.github.io/SoC-2015-Ideas.html

Throwing out a few ideas for discussion, I can write something if people agree.

* "git bisect fixed/unfixed", to allow bisecting a fix instead of a
  regression less painfully. There were already some proposed patches
  ( https://git.wiki.kernel.org/index.php/SmallProjectsIdeas#git_bisect_fix.2Funfixed ),
  so it shouldn't be too hard. Perhaps this item can be included in the
  "git bisect --first-parent" idea (turning it into "git bisect
  improvements").
* Be nicer to the user on tracked/untracked merge conflicts
  I've had it on
  https://git.wiki.kernel.org/index.php/SmallProjectsIdeas#Be_nicer_to_the_user_on_tracked.2Funtracked_merge_conflicts
  for a while but never got someone to do it.
    "When merging a commit which has tracked files with the same name as local untracked files, Git refuses to proceed. It could be nice to:
    - Accept the situation without conflict when the tracked file has
      the exact same content as the local untracked file (which would
      become tracked). No data is lost, nothing can be committed
      accidentally.
    - Possibly, for fast-forward merges, if a local files belongs to the
      index but not to the last commit, attempt a merge between the
      upstream version and the local one (resulting in the same content
      as if the file had just been committed, but without introducing an
      extra commit). 
    Recent versions SVN do something similar: on update, it considers
    added but not committed files like normal tracked files, and
    attempts a merge of the upstream version with the local one (which
    always succeeds when the files have identical content). Attempting a
    merge for non-fast forward cases would probably not make sense: it
    would mix changes coming from the merge with other changes that do
    not come from a commit."
  
  This shouldn't be technically too hard, but finding which behavior is
  right, where should things be customizeable and what the default value
  for the configuration should be will probably lead to interesting
  discussions. It contains two steps, which is good (all-or-nothing
  projects are much harder to deal with). The biggest drawback is that
  the first item may be simple for a GSoC while the second could be both
  controversial and hard to implement (depending on which solution is
  taken).
> and the list of microprojects:
>
>   http://git.github.io/SoC-2015-Microprojects.html

Here are a few ideas, based on https://git.wiki.kernel.org/index.php/SmallProjectsIdeas

-- >8 --
From 513774754872436ea8b7eea63828b804c6a107e7 Mon Sep 17 00:00:00 2001
From: Matthieu Moy <Matthieu.Moy@imag.fr>
Date: Thu, 19 Feb 2015 10:48:06 +0100
Subject: [PATCH] 2015 microproject ideas
---
 SoC-2015-Microprojects.md | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)
diff --git a/SoC-2015-Microprojects.md b/SoC-2015-Microprojects.md
index 8cb6a8f..1abf595 100644
--- a/SoC-2015-Microprojects.md
+++ b/SoC-2015-Microprojects.md
@@ -128,3 +128,45 @@ the user wanted.
 
 Because --graph is about connected history while --no-walk is about
 discrete points.  Cf. $gmane/216083
+
+### Move ~/.git-credentials and ~/.git-credential-cache to ~/.config/git
+
+Most of git dotfiles can be located, at the user's option, in
+~/.<file> or in ~/.config/git/<file>, following the [XDG
+standard](http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html).
+~/.git-credentials and ~/.git-credential-cache are still hardcoded as
+~/.<file>, and should allow using the XDG directory layout too
+(~/.git-credentials could be allowed as ~/.config/git/credential and
+~/.git-credential-cache could be allowed as ~/.cache/git/credential,
+possibly modified by $XDG_CONFIG_HOME and $XDG_CACHE_HOME).
+
+Each of these files can be a microproject of its own. The suggested
+approach is:
+
+* See how XDG was implemented for other files (run "git log --grep
+  XDG" in Git's source code) and read the XDG specification.
+
+* Implement and test the new behavior, without breaking compatibility
+  with the old behavior.
+
+* Update the documentation
+
+### Add configuration options for some commonly used command-line options
+
+This includes:
+
+* git am -3
+
+* git am -c
+
+Some people always run the command with these options, and would
+prefer to be able to activate them by default in ~/.gitconfig.
+
+### Add more builtin patterns for userdiff
+
+"git diff" shows the function name corresponding to each hunk after
+the @@ ... @@ line. For common languages (C, HTML, Ada, Matlab, ...),
+the way to find the function name is built-in Git's source code as
+regular expressions (see userdiff.c). A few languages are common
+enough to deserve a built-in driver, but are not yet recognized. For
+example, CSS, shell.
-- 
2.0.2.737.gfb43bde



-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Previous: Junio C HamanoNext: Jeff King
Message 24 of 74 in “[RFH] GSoC 2015 application”
  1. Jeff KingFeb 18, 2015
  2. Jeff KingFeb 18, 2015
  3. Johannes SchindelinFeb 24, 2015
  4. Jeff KingFeb 24, 2015
  5. Johannes SchindelinFeb 24, 2015
  6. Jeff KingFeb 24, 2015
  7. Johannes SchindelinFeb 25, 2015
  8. Matthieu MoyFeb 25, 2015
  9. Matthieu MoyFeb 25, 2015
  10. Johannes SchindelinFeb 25, 2015
  11. Matthieu MoyFeb 24, 2015
  12. Junio C HamanoFeb 24, 2015
  13. Johannes SchindelinFeb 24, 2015
  14. Junio C HamanoFeb 24, 2015
  15. Matthieu MoyFeb 24, 2015
  16. Stefan BellerFeb 25, 2015
  17. Michael J GruberFeb 25, 2015
  18. Johannes SchindelinFeb 25, 2015
  19. Christian CouderFeb 25, 2015
  20. Duy NguyenFeb 25, 2015
  21. Johannes SchindelinFeb 25, 2015
  22. Junio C HamanoFeb 18, 2015
  23. Junio C HamanoFeb 19, 2015
  24. Matthieu MoyFeb 19, 2015
  25. Jeff KingFeb 20, 2015
  26. Matthieu MoyFeb 20, 2015
  27. Dennis KaarsemakerFeb 20, 2015
  28. Matthieu MoyFeb 20, 2015
  29. Eric SunshineFeb 20, 2015
  30. 1/3 microprojects: tweaks after discussion with PeffMatthieu Moy, Feb 20, 2015
  31. 2/3 GSoC ideas: git bisect fixed/unfixedMatthieu Moy, Feb 20, 2015
  32. 3/3 idea: Be nicer to the user on tracked/untracked merge conflictsMatthieu Moy, Feb 20, 2015
  33. Duy NguyenFeb 20, 2015
  34. Jeff KingFeb 20, 2015
  35. Junio C HamanoFeb 20, 2015
  36. Support customized reordering in version sortDuy Nguyen, Feb 21, 2015
  37. Junio C HamanoFeb 21, 2015
  38. Duy NguyenFeb 21, 2015
  39. Junio C HamanoFeb 21, 2015
  40. Junio C HamanoFeb 21, 2015
  41. versionsort: support reorder prerelease suffixesNguyễn Thái Ngọc Duy, Feb 26, 2015
  42. Junio C HamanoFeb 27, 2015
  43. Junio C HamanoMar 5, 2015
  44. Duy NguyenMar 9, 2015
  45. Junio C HamanoMar 10, 2015
  46. Eric SunshineMar 10, 2015
  47. config.txt: update versioncmp.prereleaseSuffixNguyễn Thái Ngọc Duy, Mar 10, 2015
  48. Michael HaggertyFeb 20, 2015
  49. Jeff KingFeb 20, 2015
  50. Junio C HamanoFeb 20, 2015
  51. Matthieu MoyFeb 20, 2015
  52. Jeff KingFeb 20, 2015
  53. Jeff KingFeb 20, 2015
  54. Matthieu MoyFeb 23, 2015
  55. Jeff KingFeb 23, 2015
  56. Philip OakleyMar 4, 2015
  57. Stefan BellerMar 4, 2015
  58. Philip OakleyMar 4, 2015
  59. Junio C HamanoMar 5, 2015
  60. Stefan BellerMar 5, 2015
  61. Junio C HamanoMar 5, 2015
  62. Junio C HamanoMar 5, 2015
  63. Duy NguyenMar 6, 2015
  64. Duy NguyenMar 5, 2015
  65. Nguyễn Thái Ngọc DuyMar 5, 2015
  66. 1/6 upload-pack: move shallow deepen code out of receive_needs()Nguyễn Thái Ngọc Duy, Mar 5, 2015
  67. 2/6 upload-pack: move "shallow" sending code out of deepen()Nguyễn Thái Ngọc Duy, Mar 5, 2015
  68. 3/6 upload-pack: remove unused variable "backup"Nguyễn Thái Ngọc Duy, Mar 5, 2015
  69. 4/6 upload-pack: move "unshallow" sending code out of deepen()Nguyễn Thái Ngọc Duy, Mar 5, 2015
  70. 5/6 shallow.c: implement a generic shallow boundary finder based on rev-listNguyễn Thái Ngọc Duy, Mar 5, 2015
  71. 6/6 upload-pack: example code to use get_shallow_commits_by_rev_listNguyễn Thái Ngọc Duy, Mar 5, 2015
  72. Duy NguyenFeb 26, 2015
  73. Jeff KingMar 4, 2015
  74. Duy NguyenMar 4, 2015

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.