mirror of
https://github.com/DictXiong/dotfiles.git
synced 2025-08-01 05:10:29 +08:00
fix DFS_DEV
This commit is contained in:
parent
bbe983999e
commit
a1c74f2b38
@ -25,7 +25,7 @@ if [[ "$(git rev-parse HEAD)" == "$dfs_commit" ]]; then
|
|||||||
post_log "INFO" "$THIS_FILE" "nothing to do"
|
post_log "INFO" "$THIS_FILE" "nothing to do"
|
||||||
else
|
else
|
||||||
fmt_info "checking out to commit $dfs_commit ..."
|
fmt_info "checking out to commit $dfs_commit ..."
|
||||||
if [[ -z "DFS_DEV" ]]; then
|
if [[ -z "$DFS_DEV" ]]; then
|
||||||
git -c advice.detachedHead=false checkout $dfs_commit
|
git -c advice.detachedHead=false checkout $dfs_commit
|
||||||
else
|
else
|
||||||
fmt_warning "won't really checkout in dev mode"
|
fmt_warning "won't really checkout in dev mode"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user