Skip to content

builtin/mv.c cleanup

Nguyễn Thái Ngọc Duy git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8mv: mark strings for translationsbuiltin/mv.c+1 -10 replies
2/8mv: no "Huh?" to the userbuiltin/mv.c+2 -31 reply
3/8mv: flatten error handling code blockbuiltin/mv.c+17 -181 reply
4/8mv: split submodule move preparation code outbuiltin/mv.c+21 -140 replies
5/8mv: remove an "if" that's always truebuiltin/mv.c+7 -150 replies
6/8mv: move index search code outbuiltin/mv.c+25 -160 replies
7/8mv: unindent one level for directory move codebuiltin/mv.c+21 -260 replies
8/8mv: combine two if(s)builtin/mv.c+2 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/8] builtin/mv.c cleanup

I was looking at builtin/mv.c for pathspec support and ended up cleaning it up a bit. The first patch is definitely good. The rest could be questionable. Although the output in the end looks better in my opinion.

Nguyễn Thái Ngọc Duy (8):
mv: mark strings for translations
mv: no "Huh?" to the user
mv: flatten error handling code block
mv: split submodule move preparation code out
mv: remove an "if" that's always true
mv: move index search code out
mv: unindent one level for directory move code
mv: combine two if(s)

 builtin/mv.c | 168 +++++++++++++++++++++++++++++------------------------------
 1 file changed, 84 insertions(+), 84 deletions(-)
Signature · 1 line
2.1.0.rc0.78.gc0d8480