Also, add a new option: 'auto', so if there's more than one patch, the
cover letter is generated, otherwise it's not.
Signed-off-by: Felipe Contreras felipe.contre...@gmail.com
---
Documentation/config.txt | 5 +
Documentation/git-format-patch.txt | 5 +++--
builtin/log.c
On Sun, Apr 07, 2013 at 12:46:23PM -0500, Felipe Contreras wrote:
[snip]
+test_expect_success 'cover letter auto' '
+ mkdir -p tmp
+ test_when_finished rm -rf tmp;
+ git config --unset format.coverletter
+
+ git config format.coverletter auto
test_config
Hi,
Simon Ruderich wrote:
On Sun, Apr 07, 2013 at 12:46:23PM -0500, Felipe Contreras wrote:
+test_expect_success 'cover letter auto' '
+mkdir -p tmp
+test_when_finished rm -rf tmp;
[...]
I'm not sure if it's better to use test_when_finished with rm or
just rm -rf tmp at the end
3 matches
Mail list logo