i18n: make GETTEXT_POISON a runtime option
[gitweb.git] / builtin / add.c
index f94b614c1c333a8fc35161cb2cb27b9e7384a4fc..ad49806ebf92208e25a69ac9bff3f0e0a3b96570 100644 (file)
@@ -454,7 +454,7 @@ int cmd_add(int argc, const char **argv, const char *prefix)
         * Check the "pathspec '%s' did not match any files" block
         * below before enabling new magic.
         */
-       parse_pathspec(&pathspec, 0,
+       parse_pathspec(&pathspec, PATHSPEC_ATTR,
                       PATHSPEC_PREFER_FULL |
                       PATHSPEC_SYMLINK_LEADING_PATH,
                       prefix, argv);