Commit 597104f
committed
docs(cli/sync[update_repo]) Correct the shallow/depth translation comment
why: The comment omitted the actual reason for applying the keys
post-construction (libvcs names shallow `git_shallow`, so it must be
translated) and overstated "leaking git-only kwargs into the svn/hg sync
constructors" — HgSync/SvnSync absorb unknown **kwargs harmlessly, so
that was never the failure mode.
what:
- State the real rationale: translate shallow->git_shallow, apply both as
attributes for git only, and let obtain() resolve precedence
- Comment-only; no behavior change1 parent 902c002 commit 597104f
1 file changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1927 | 1927 | | |
1928 | 1928 | | |
1929 | 1929 | | |
1930 | | - | |
1931 | | - | |
1932 | | - | |
1933 | | - | |
1934 | | - | |
| 1930 | + | |
| 1931 | + | |
| 1932 | + | |
| 1933 | + | |
| 1934 | + | |
1935 | 1935 | | |
1936 | 1936 | | |
1937 | 1937 | | |
| |||
0 commit comments