| Issue 3351: | off-by-one depth calculation in shallow clone | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Affected Version: 2.11 What steps will reproduce the problem? 1. git clone --depth=1 <gerrit-url> shallow 2. cd shallow 3. git log What is the expected output? What do you see instead? A shallow clone with --depth=1 should only contain one commit. However, the clone from Gerrit also contains the parents. Please provide any additional information below. This off-by-one was also in Git but was fixed in v1.8.2-rc0~72^2~1. |
|
| ► Sign in to add a comment |