From: Σταύρος Ντέντος Date: Fri, 26 Mar 2021 02:40:03 GMT Subject: [RFC PATCH v1 0/1] pathspec: warn: long and short forms are incompatible Message-ID: <20210326024005.26962-1-stdedos+git@gmail.com> In-Reply-To: From: Stavros Ntentos <133706+stdedos@users.noreply.github.com> The second of the two issues identified in this thread. Both patches work as expected. There is a short solution, which is mostly okay. It does not compile with -Werror, but: It avoids malloc/free, and keeps the logic/sloc low. All of this could be my lack of C experience. Stavros Ntentos (1): pathspec: warn: long and short forms are incompatible pathspec.c | 30 ++++++++++++++++++++++++++++++ pathspec.h | 1 + t/t6132-pathspec-exclude.sh | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 64 insertions(+) -- 2.31.0