forked from pool/obs-service-tar_scm
- Re-iterating the last change once again, 'git rev-parse --verify $REV' will return false even if $REV is a normal branch upon first clone of the repo. Thus 'git fetch $URL +$REV:$REV" is run initially. However, the 'git checkout $REV' then fails because it's missing tracking information. Therefore, try a normal checkout first and fetch the specific $REV only when that fails (due to reasons described below). OBS-URL: https://build.opensuse.org/request/show/123669 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=44
Description
No description provided
Languages
Shell
100%