Files
diodeinc__pcb/crates/pcb/tests/snapshots/build__commit_stable_ref.snap
Akhil Velagapudi af92d81ee2 Fix fetching a commit from a non-default branch (#119)
* Fix fetching a commit from a non-default branch

Previously, we would do a shallow clone of the default branch and then
attempt to checkout the commit. This doesn't work if the commit is not
on the default branch.

Also, allow specifying short hash (len 7).

Signed-off-by: akhilles <akhilvelagapudi@gmail.com>

* Remove left over dbg

Signed-off-by: akhilles <akhilvelagapudi@gmail.com>

---------

Signed-off-by: akhilles <akhilvelagapudi@gmail.com>
2025-08-26 10:00:27 -07:00

12 lines
164 B
Plaintext

---
source: crates/pcb/tests/build.rs
expression: output
---
Command: pcb build board.zen
Exit Code: 0
--- STDOUT ---
--- STDERR ---
✓ board.zen (0 components)