From a1c74f2b384cb6a69ac5d2b69dc6789c565615f5 Mon Sep 17 00:00:00 2001 From: "xiongdian.me" Date: Fri, 4 Nov 2022 16:40:04 +0800 Subject: [PATCH] fix DFS_DEV --- .update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.update.sh b/.update.sh index 1577b30..1f13374 100644 --- a/.update.sh +++ b/.update.sh @@ -25,7 +25,7 @@ if [[ "$(git rev-parse HEAD)" == "$dfs_commit" ]]; then post_log "INFO" "$THIS_FILE" "nothing to do" else 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 else fmt_warning "won't really checkout in dev mode"