Instead of, for example,
fatal: update refs/heads/master missing [oldvalue] NUL
emit
fatal: update refs/heads/master missing oldvalue
Update the tests accordingly.
Signed-off-by: Michael Haggerty mhag...@alum.mit.edu
---
builtin/update-ref.c | 6 +++---
t/t1400-update-ref.sh | 6
On 03/10/2014 01:08 PM, Brad King wrote:
-die(update %s missing [oldvalue] NUL, update-ref_name);
+die(update %s missing oldvalue, update-ref_name);
The reason for the original wording is that the oldvalue is indeed
optional. This can only occur at end-of-input, and
On 03/10/2014 08:46 AM, Michael Haggerty wrote:
Instead of, for example,
fatal: update refs/heads/master missing [oldvalue] NUL
emit
fatal: update refs/heads/master missing oldvalue
[snip]
- die(update %s missing [oldvalue] NUL, update-ref_name);
+
3 matches
Mail list logo