mirror of
https://github.com/DictXiong/dotfiles.git
synced 2025-07-30 11:00: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"
|
||||
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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user