Merge lp:~corey.bryant/charm-helpers/depth-clone-only into lp:charm-helpers
Proposed by
Corey Bryant
on 2016-01-08
| 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 | 2016-01-08 | Approve on 2016-01-08 | |
|
Review via email:
|
|||
To post a comment you must log in.
| Corey Bryant (corey.bryant) wrote : | # |


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.