Merge lp:~corey.bryant/charm-helpers/depth-clone-only into lp:charm-helpers
Proposed by
Corey Bryant
Status: | Merged |
---|---|
Merged at revision: | 516 |
Proposed branch: | lp:~corey.bryant/charm-helpers/depth-clone-only |
Merge into: | lp:charm-helpers |
Diff against target: |
14 lines (+2/-2) 1 file modified
charmhelpers/fetch/giturl.py (+2/-2) |
To merge this branch: | bzr merge lp:~corey.bryant/charm-helpers/depth-clone-only |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Liam Young (community) | Approve | ||
Review via email: mp+282016@code.launchpad.net |
To post a comment you must log in.
While --depth is a valid option on 'git pull' it doesn't seem to work all that great. For example, --depth 0 is valid for 'git clone' but not for 'git pull'. I don't see any reason for it to be specified on 'git pull' so this patch only uses --depth with 'git clone'. As a historical point, 'git pull' was just recently added to this code while 'git clone' with --depth already existed prior to that.