Thread (2 messages) flat view 2 messages, 2 authors, 2016-06-15

Re: [PATCH] hash-object: don't rely on order of --stdin, -w arguments

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:44:13

Possibly related (same subject, not in this thread)

Gerrit Pape [off-list ref] writes:
Fix 'git hash-object --stdin -w' to actually write the object, just as
'git hash-object -w --stdin' does.
Can we have additions to the test scripts to illustrate:

 - what used to happen if you had "--stdin -w" on the command
   line (presumably you did not get the object written, which is
   a buggy behaviour and the patch should fix it);

 - what used to happen if you had "-w --stdin --stdin" on the
   command line (I imagine you used to be able to feed two
   separate streams when you are on a terminal by typing ^Ds in
   between?);

 - any other combination that may deserve testing.

in order to (1) show existing bugs the patch is trying to
address, (2) demonstrate that the patch fixes them without
regressing, and (3) protect the fix from being broken by future
changes, pretty please?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help