"git clone --depth <depth>" producing history with <depth + 1> commits?
- From
- Sebastian Pipping <webmaster@hartwork.org>
- Date
- Mar 26, 2009, 17:00 UTC
- Message-ID
- <49CBB490.8040908@hartwork.org>
Hello!
Is "git clone --depth 1 <ropository>" expected to give a history with 2 commits? "--depth 2" gives 3 commits, "--depth 0" all.
Is that by design or a bug?
Sebastian