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

Re: [PATCH] fetch: add configuration for making --all default

From: Remi Galan Alfonso <hidden>
Date: 2016-06-15 23:05:46

Hi,

Øystein Walle [off-list ref] writes:
+fetch.all::
+        If true, fetch will automatically behave as if the `--all`
+        option was given on the command line uness a remote was given. The
+        default is false.
s/uness/unless
+test_expect_success 'git fetch (fetch.all = true)' '
+        (git clone one test9 &&
+         cd test9 &&
+         git config fetch.all true &&
+         git remote add one ../one &&
+         git remote add two ../two &&
+         git remote add three ../three &&
+         git fetch &&
+         git branch -r > output &&
No space after redirection ('>').
It should be:
         git branch -r >output &&
+test_expect_success 'git fetch one (fetch.all = true)' '
+        (cd test3 &&
+         git config fetch.all true &&
+         git fetch three &&
+         git branch -r > output &&
Same here
+         test_cmp ../expect output &&
+         git fetch --no-all &&
+         git branch -r > output &&
And here.
+         test_cmp ../expect output)
+'
Thanks,
Rémi
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help