Re: [PATCH 09/17] pathspec: always show mnemonic and name in unsupported_magic
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Dec 7, 2016, 10:47 UTC
- Message-ID
- <CACsJy8Du5XUzcKpWfSKy8iknF01C-RWCgPeh73W3E0VkPJ9sog@mail.gmail.com>
- In-Reply-To
- <1481061106-117775-10-git-send-email-bmwill@google.com>
On Wed, Dec 7, 2016 at 4:51 AM, Brandon Williams <bmwill@google.com> wrote:
Show 7 quoted lines
> @@ -426,8 +423,7 @@ void parse_pathspec(struct pathspec *pathspec, > nr_exclude++; > if (item[i].magic & magic_mask) > unsupported_magic(entry, > - item[i].magic & magic_mask, > - short_magic); > + item[i].magic & magic_mask);
Same here. Maybe put both arguments in the same line. It looks a bit better. (sorry for two mails on the same patch, I'm reading the final output first before going through individual patches that breaks this function down)
>
> if ((flags & PATHSPEC_SYMLINK_LEADING_PATH) &&
> has_symlink_leading_path(item[i].match, item[i].len)) {-- Duy