@@ -135,3 +135,45 @@ the user wanted.
135135
136136Because --graph is about connected history while --no-walk is about
137137discrete points. Cf. $gmane/216083
138+
139+ ### Move ~ /.git-credentials and ~ /.git-credential-cache to ~ /.config/git
140+
141+ Most of git dotfiles can be located, at the user's option, in
142+ ~ /.<file > or in ~ /.config/git/<file >, following the [ XDG
143+ standard] ( http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html ) .
144+ ~ /.git-credentials and ~ /.git-credential-cache are still hardcoded as
145+ ~ /.<file >, and should allow using the XDG directory layout too
146+ (~ /.git-credentials could be allowed as ~ /.config/git/credential and
147+ ~ /.git-credential-cache could be allowed as ~ /.cache/git/credential,
148+ possibly modified by $XDG_CONFIG_HOME and $XDG_CACHE_HOME).
149+
150+ Each of these files can be a microproject of its own. The suggested
151+ approach is:
152+
153+ * See how XDG was implemented for other files (run "git log --grep
154+ XDG" in Git's source code) and read the XDG specification.
155+
156+ * Implement and test the new behavior, without breaking compatibility
157+ with the old behavior.
158+
159+ * Update the documentation
160+
161+ ### Add configuration options for some commonly used command-line options
162+
163+ This includes:
164+
165+ * git am -3
166+
167+ * git am -c
168+
169+ Some people always run the command with these options, and would
170+ prefer to be able to activate them by default in ~ /.gitconfig.
171+
172+ ### Add more builtin patterns for userdiff
173+
174+ "git diff" shows the function name corresponding to each hunk after
175+ the @@ ... @@ line. For common languages (C, HTML, Ada, Matlab, ...),
176+ the way to find the function name is built-in Git's source code as
177+ regular expressions (see userdiff.c). A few languages are common
178+ enough to deserve a built-in driver, but are not yet recognized. For
179+ example, CSS, shell.
0 commit comments