Re: [PATCH] git-clean: Display more accurate delete messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Zoltan Klinger <zoltan.klinger@xxxxxxxxx> writes:

> Only print out the names of the files and directories that got actually
> deleted.
>
> Consider the following repo layout:
>   |-- test.git/
>         |-- foo/
>              |-- bar/
>                   |-- bar.txt
>              |-- frotz.git/
>                   |-- frotz.txt
>         |-- tracked_file1
>         |-- untracked_file1
> ...
> Consider the output of the improved version:
>
>   $ git clean -fd
>   Removed foo/bar/bar.txt
>   Removed foo/bar
>   Removed untracked_file1

Hrm, following your discussion (ellided above), I would have
expected that you would show

    Removing directory foo/bar
    Removing untracked_file1

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]