t5521: test --dry-run does not make any changes
commit5504f13a7c1e0a0ed486aecfdcc45b150528693e
authorPaul Tan <pyokagan@gmail.com>
Fri, 29 May 2015 11:44:44 +0000 (29 19:44 +0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 29 May 2015 16:16:01 +0000 (29 09:16 -0700)
tree5608e2f347644d680a19cd51511f69ac4f7fc070
parentfa14ee77ac7b0e4d16ede822015cad32f34b6c7f
t5521: test --dry-run does not make any changes

Test that when --dry-run is provided to git-pull, it does not make any
changes, namely:

* --dry-run gets passed to git-fetch, so no FETCH_HEAD will be created
  and no refs will be fetched.

* The index and work tree will not be modified.

Signed-off-by: Paul Tan <pyokagan@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5521-pull-options.sh