From: Ævar Arnfjörð Bjarmason Date: Tue, 04 Dec 2018 13:27:13 GMT Subject: [PATCH 0/3] sha1-file: warn if alternate is a git repo (not object dir) Message-ID: <20181204132716.19208-1-avarab@gmail.com> In-Reply-To: <87tvjtvah0.fsf@evledraar.gmail.com> This adds a warning for the issue discussed upthread. As noted in these patches we've been emitting an "error" while not impacting the exit code, should we die() instead? Maybe, but until there's consensus on that let's change this to warning() while we're at it. Ævar Arnfjörð Bjarmason (3): sha1-file: test the error behavior of alt_odb_usable() sha1-file: emit error if an alternate looks like a repository sha1-file: change alternate "error:" message to "warning:" sha1-file.c | 16 ++++++++++++---- t/t5613-info-alternate.sh | 21 +++++++++++++++++++++ 2 files changed, 33 insertions(+), 4 deletions(-) -- 2.20.0.rc2.403.gdbc3b29805