Files
git/Documentation
Jens Lehmann ea5070c91f Teach read-tree the -n|--dry-run option
The option can be used to check if read-tree with the same set of other
options like "-m" and "-u" would succeed without actually changing either
the index or the working tree.

The relevant tests in the t10?? range were extended to do a read-tree -n
before the real read-tree to make sure neither the index nor any local
files were changed with -n and the same exit code as without -n is
returned. The helper functions added for that purpose reside in the new
t/lib-read-tree.sh file.

The only exception is #13 in t1004 ("unlinking an un-unlink-able
symlink"). As this is an issue of wrong directory permissions it is not
detected with -n.

Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2011-05-25 15:04:25 -07:00
..
2011-05-23 10:54:54 -07:00
2011-03-22 14:56:13 -07:00
2011-04-14 12:26:45 -07:00
2011-04-01 17:45:59 -07:00
2011-03-11 10:59:16 -05:00
2011-04-28 14:11:39 -07:00
2011-03-11 10:59:16 -05:00
2011-05-04 15:51:43 -07:00
2011-03-28 14:17:17 -07:00
2011-05-19 20:37:08 -07:00
2010-07-05 13:39:02 -07:00
2010-11-24 15:13:58 -08:00
2010-07-20 16:59:17 -07:00