You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The captured-push.bin file contains a single captured push request used to test push file parsing. It was captured by adding the following to the `exec` function in _src/proxy/processors/push-action/parsePush.ts_:
The push that was captured was generated by checking out the git proxy repository (a second copy) and running the following in its root directory to generate changes to commit:
10
+
11
+
```bash
12
+
echo"New content for pack testing $(date)"> new-file.txt
13
+
echo"# Updated README $(date)">> README.md
14
+
git add .
15
+
git commit -m "test: test commit for pack capture $(date)"
16
+
```
17
+
18
+
The commit was then pushed into a locally running copy of git proxy (where the committing user was added as a contributor to the git-proxy repo). The push is processed as normally and its body written to file by the above modification.
0 commit comments