Re: [PATCH] git status -q (similar to subversion)

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

 




There has been much discussion about an alternate command that would be
more like "svn status", and even some partial implementations. But it
needs somebody who really cares about the feature to step up and
complete it.

An alias

        changes=diff --name-status -r

already does almost the same function as "svn status -q". If you wanted full svn status with untracked files you could use this:

changes = "!sh -c 'git status | sed -n \"/Untracked/N;//N;1,//d;s/^#/?/p\"; git diff --name-status -r \"$@\"' -"

Paolo
--
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]