commit | 2a67d483b8a84a6d9329df97743c0392418cd4a1 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@chromium.org> | Fri Dec 13 14:07:19 2019 -0500 |
committer | Mike Frysinger <vapier@chromium.org> | Sat Dec 14 01:01:19 2019 +0000 |
tree | b0c599354beb04a24fc4cc51276bc61e957c0cf6 | |
parent | 61205452cccf6cb12412cf04b432ba7ae3aec299 [diff] |
enter_chroot: handle older git versions The --type=path option was added in git-2.18.0 (Jun 2018), and not everyone keeps their system up-to-date. Use --type=path only when we detect that ~ is being used so we support old/new versions well. BUG=chromium:1025578 TEST=`cros_sdk` copies in gitcookies now Change-Id: I78741332f19fefa89869a4216769c0fab7f62abe Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosutils/+/1966379 Reviewed-by: Sean Abraham <seanabraham@chromium.org> Tested-by: Mike Frysinger <vapier@chromium.org>