Conley Owens 666d534636 Ensure HEAD is correct when skipping remote fetch
A recent optimization (2fb6466f79) skips
performing a remote fetch if we already know we have the sha1 we want.
However, that optimization skipped initialization steps that ensure HEAD
points to the correct sha1.  This change makes sure not to skip those
steps.

Here is an example of how to test this change:

"""""""""
url=<manifest url>
branch1=<branch name>
branch2=<branch name>
project=<project with revision set to different sha1 in each branch>

repo init -u $url -b $branch1 --mirror
repo sync $project
first=$(cd $project.git; git rev-parse HEAD)

repo init -b $branch2
repo sync $project
second=$(cd platform/build.git; git rev-parse HEAD)

if [[ $first == $second ]]
then
    echo 'problem!'
else
    echo 'no problem!'
fi
"""""""""
2014-05-01 13:20:32 -07:00
2013-12-10 15:30:03 -08:00
2012-11-14 11:38:57 +09:00
2013-03-08 01:18:08 +00:00
2013-02-26 16:04:55 +09:00
2008-10-21 07:00:00 -07:00
2013-11-21 06:03:22 +00:00
2014-04-22 14:35:47 -05:00
2011-09-19 14:52:57 -07:00
2014-01-30 15:17:09 -08:00
S
Description
Cryptsetup是一个基于块设备加密内核模块,用于方便地设置磁盘加密的实用工具。Cryptsetup is utility used to conveniently setup disk encryption based on DMCrypt kernel module.
15 MiB
Languages
C 60.7%
Shell 27.6%
Makefile 7.9%
M4 3.8%