From: yac Date: Wed, 11 Nov 2015 18:26:34 GMT Subject: Suspected bug on `git -C rev-list --all` where has 0 commits Message-ID: <20151111192634.629102e6@linux-apw9.site> Hello basics: % rpm -q git git-core git-2.6.2-2.1.x86_64 git-core-2.6.2-2.1.x86_64 ~ % grep PRETTY_NAME /etc/os-release PRETTY_NAME="openSUSE Tumbleweed (20151030) (x86_64)" current behavior: ~ % git init no-commits Initialized empty Git repository in /home/tester/no-commits/.git/ ~ % git -C no-commits rev-list --all usage: git rev-list [OPTION] ... [ -- paths... ] limiting output: --max-count= --max-age= --min-age= --sparse --no-merges --min-parents= --no-min-parents --max-parents= --no-max-parents --remove-empty --all --branches --tags --remotes --stdin --quiet ordering output: --topo-order --date-order --reverse formatting output: --parents --children --objects | --objects-edge --unpacked --header | --pretty --abbrev= | --no-abbrev --abbrev-commit --left-right --count special purpose: --bisect --bisect-vars --bisect-all ~ % echo $? 129 expected behavior: ~ % git -C no-commits rev-list --all ~ % echo $? 0