diff options
| author | Stefan Beller <sbeller@google.com> | 2016-07-28 17:44:04 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2016-08-01 14:41:02 -0700 |
| commit | 6cbf454a2eaa016efff04bd696dc1ec24b515c11 (patch) | |
| tree | de1f4e8971f683527015dd0adb15b5540c2abf14 /commit.h | |
| parent | t7406: future proof tests with hard coded depth (diff) | |
| download | git-6cbf454a2eaa016efff04bd696dc1ec24b515c11.tar.gz git-6cbf454a2eaa016efff04bd696dc1ec24b515c11.zip | |
submodule update: respect depth in subsequent fetches
When depth is given the user may have a reasonable expectation that
any remote operation is using the given depth. Add a test to demonstrate
we still get the desired sha1 even if the depth is too short to
include the actual commit.
Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
0 files changed, 0 insertions, 0 deletions
