From: Ævar Arnfjörð Bjarmason Date: Mon, 11 Oct 2010 06:44:42 GMT Subject: Re: [PATCH 1/3] bisect: improve error message of 'bisect log' while not bisecting Message-ID: In-Reply-To: <1286747338-8521-1-git-send-email-szeder@ira.uka.de> 2010/10/10 SZEDER Gábor : > 'git bisect log' is implemented by a direct invocation of 'cat > "$GIT_DIR/BISECT_LOG"', without any sanity checks.  Consequently, > running 'git bisect log' while not bisecting leads to an error, > because the bisect logfile doesn't exists.  The accompanying error > message Nice, in case you want to fix this for git-rebase too: Applying: gettextize: git-add "no files added" message Applying: gettextize: git-add "Use -f if you really want" message Applying: gettextize: git-add "pathspec [...] did not match" message Applying: gettextize: git-add "remove '%s'" message ^C v t ((5cab536...)|REBASE) $ git rebase --abort cat: /home/avar/g/git/.git/rebase-apply/head-name: No such file or directory cat: /home/avar/g/git/.git/rebase-apply/orig-head: No such file or directory HEAD is now at 5cab536 gettextize: git-add "remove '%s'" message v t ((5cab536...)) $ v t ((5cab536...)) $ git rebase --abort No rebase in progress? v t ((5cab536...)) $