Commit b4fca4f
committed
mirror-nixos-branch: fix git
When I wrote 30efa0a, I had the
assumption that the GIT_DIR in /home/hydra-mirror/nixpkgs-channels is
always up-to-date, but it isn't.
The actual local GIT_DIR only gets updated far further down (line 346).
This commit fixes the issue of git not yet knowing the $rev by fetching
only that $rev early, instead of moving the much more expensive git
remote update that would update all branches of nixpkgs, all the time.fatal: bad object error1 parent 40fd591 commit b4fca4f
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
| 111 | + | |
111 | 112 | | |
112 | 113 | | |
113 | 114 | | |
| |||
0 commit comments