* Die by dedicated function.
* Push only if allowed (a line containing single word PUSH found in
.git-slurp-ok file)
* Allow working when deeper in git repo (but not if outside).
* Make permisson code readable (self-doc).
* Enclose in main() to allow for better hygiene.
|
|
||
| 4 |
|
4 |
|
| 5 |
|
5 |
|
| 6 |
|
6 |
|
| 7 |
|
|
|
| 8 |
|
|
|
|
7 |
|
|
|
8 |
|
|
| 9 |
|
9 |
|
| 10 |
|
10 |
|
| 11 |
|
11 |
|
|
|
||
| 18 |
|
18 |
|
| 19 |
|
19 |
|
| 20 |
|
20 |
|
| 21 |
|
|
|
| 22 |
|
|
|
| 23 |
|
|
|
|
21 |
|
|
|
22 |
|
|
|
23 |
|
|
|
24 |
|
|
|
25 |
|
|
|
26 |
|
|
|
27 |
|
|
|
28 |
|
|
|
29 |
|
|
|
30 |
|
|
|
31 |
|
|
|
32 |
|
|
|
33 |
|
|
|
34 |
|
|
|
35 |
|
|
|
36 |
|
|
|
37 |
|
|
|
38 |
|
|
|
39 |
|
|
|
40 |
|
|
|
41 |
|
|
|
42 |
|
|
|
43 |
|
|
|
44 |
|
|
|
45 |
|
|
|
46 |
|
|
|
47 |
|
|
|
48 |
|
|
|
49 |
|
|
|
50 |
|
|
|
51 |
|