Commit 5f822dd
committed
Command-line argument repo_dir is changed
The optional third command-line argument, repo_dir, is now a keyword
argument and the name is changed to target-dir; this allows us to avoid
having to pass an empty branch_name as the second argument if you want
to pass in the repo_dir(now target-dir) as the third argument.
In the previous configuration, we used positional arguments:
gitpuller git_url branch_name repo_dir
Now, we use a keyword argument for target-dir:
gitpuller git_url [branch_name] --target-dir [TARGET_DIR]1 parent 1e57904 commit 5f822dd
2 files changed
+12
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
307 | | - | |
| 307 | + | |
| 308 | + | |
308 | 309 | | |
309 | 310 | | |
310 | 311 | | |
311 | 312 | | |
312 | | - | |
313 | | - | |
| 313 | + | |
| 314 | + | |
314 | 315 | | |
315 | 316 | | |
316 | 317 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
103 | 107 | | |
104 | 108 | | |
105 | 109 | | |
| |||
119 | 123 | | |
120 | 124 | | |
121 | 125 | | |
122 | | - | |
123 | | - | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
124 | 129 | | |
125 | 130 | | |
126 | 131 | | |
| |||
0 commit comments