nisargjhaveri / WirelessAndroidAutoDongle

Use Wireless Android Auto with a car that supports only wired Android Auto using a Raspberry Pi.
MIT License
331 stars 43 forks source link

Fix empty file failing to clone on Windows #15

Closed Thom-x closed 8 months ago

Thom-x commented 8 months ago

When I clone, I have the following error:

Cloning into 'AAWirelessDongle'...
remote: Enumerating objects: 582, done.
remote: Counting objects: 100% (51/51), done.
remote: Compressing objects: 100% (28/28), done.
Receiving objects:  98% (571/582)sed 36 (delta 20), pack-reused 531Receiving objects:  97% (565/582)
Receiving objects: 100% (582/582), 89.29 KiB | 3.57 MiB/s, done.
Resolving deltas: 100% (279/279), done.
error: invalid path 'aa_wireless_dongle/board/raspberrypi0w/rootfs_overlay/.empty '
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

Note the space after .empty.

BTW: Many thanks for this project, it works like a charm on my Peugeot 208 !

nisargjhaveri commented 8 months ago

Thanks for this, don't know how did I miss the space in filename earlier!