Skip to content

Commit

Permalink
tools: fix v up, by not deleting ./v when missing a .git folder (
Browse files Browse the repository at this point in the history
  • Loading branch information
skull-squadron committed Nov 22, 2023
1 parent d577e54 commit cd145b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/tools/vup.v
Expand Up @@ -71,7 +71,7 @@ fn (app App) update_from_master() {
app.git_command('remote add origin https://github.com/vlang/v')
app.git_command('fetch')
app.git_command('reset --hard origin/master')
app.git_command('clean --quiet -xdf --exclude v.exe --exclude cmd/tools/vup.exe')
app.git_command('clean --quiet -xdf --exclude v --exclude v.exe --exclude cmd/tools/vup --exclude cmd/tools/vup.exe')
} else {
// pull latest
app.git_command('pull https://github.com/vlang/v master')
Expand Down

0 comments on commit cd145b2

Please sign in to comment.