Skip to content

Commit d629921

Browse files
committed
fixup! clean: do not traverse mount points
This compile error fix was inadvertently squashed into 379fe49 (clean: remove mount points when possible, 2018-12-11), but actually belongs into an earlier patch. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 432b315 commit d629921

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/clean.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ static int remove_dirs(struct strbuf *path, const char *prefix, int force_flag,
175175

176176
if (is_mount_point(path)) {
177177
if (!quiet) {
178-
quote_path_relative(path->buf, prefix, &quoted);
178+
quote_path(path->buf, prefix, &quoted, 0);
179179
printf(dry_run ?
180180
_(msg_would_skip_mount_point) :
181181
_(msg_skip_mount_point), quoted.buf);

0 commit comments

Comments
 (0)