index 84f71d5ee0e2eebac0be67660590874d4d4dd24d..7fde4fac908b1932e0d17a8f8437e5a6bced0c8e 100644 (file)
--- a/setup.c
+++ b/setup.c
unsigned char sha1[20];
unsigned mode;
/* try a detailed diagnostic ... */
- get_sha1_with_mode_1(arg, sha1, &mode, 0, prefix);
+ get_sha1_with_mode_1(arg, sha1, &mode, 1, prefix);
/* ... or fall back the most general message. */
die("ambiguous argument '%s': unknown revision or path not in the working tree.\n"
"Use '--' to separate paths from revisions", arg);