Commit 61c1e1a
committed
auto-cache: avoid using HEAD after cloning from a cache
This commit removes existing code, which uses HEAD right after cloning
the repository into the workspace from a cache.
Background: When a remote default branch is renamed and the auto-cache
is updated with remote, the auto-cache becomes corrupt as HEAD points to
an invalid remote HEAD. Therefore, avoid using HEAD within git
operations during west update, as long as no revision is checked out.1 parent b783b74 commit 61c1e1a
1 file changed
+0
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1821 | 1821 | | |
1822 | 1822 | | |
1823 | 1823 | | |
1824 | | - | |
1825 | | - | |
1826 | | - | |
1827 | | - | |
1828 | | - | |
1829 | | - | |
1830 | | - | |
1831 | | - | |
1832 | | - | |
1833 | | - | |
1834 | | - | |
1835 | | - | |
1836 | | - | |
1837 | | - | |
1838 | | - | |
1839 | | - | |
1840 | | - | |
1841 | | - | |
1842 | | - | |
1843 | | - | |
1844 | | - | |
1845 | | - | |
1846 | | - | |
1847 | 1824 | | |
1848 | 1825 | | |
1849 | 1826 | | |
| |||
0 commit comments