Skip to content

Commit 13796b4

Browse files
gitsterpeff
authored andcommitted
soc-2015: a few microprojects
1 parent fa180df commit 13796b4

1 file changed

Lines changed: 21 additions & 1 deletion

File tree

SoC-2015-Microprojects.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,4 +107,24 @@ suitable. Just remember to keep the change small! It is much better
107107
for you to finish a small but complete change than to try something
108108
too ambitious and not get it done.
109109

110-
**TODO** add entries
110+
### Make "git -C '' cmd" not to barf.
111+
112+
Instead, make it just like "cd ''", which is a no-op that silently
113+
succeeds. Cf. $gmane/258109
114+
115+
### Allow "-" as a short-hand for "@{-1}" in more places.
116+
117+
Pick one command that operates on branch names. Teach it the "-"
118+
shorthand that stands for "the branch we were previously on", like we
119+
did for "git merge -" sometime after we introduced "git checkout -".
120+
Cf. $gmane/230828
121+
122+
### Make "git diff --no-index $directory $file" DWIM better.
123+
124+
"git diff --no-index $directory $directory/$file" is obviously what
125+
the user wanted.
126+
127+
### Forbid "log --graph --no-walk"
128+
129+
Because --graph is about connected history while --no-walk is about
130+
discrete points. Cf. $gmane/216083

0 commit comments

Comments
 (0)