reset: silent for some commands, verbose for others?

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

 



Looking at the reset's command third form:

  reset [--soft | --mixed | --hard | --merge | --keep] [-q] [<commit>]

* --soft, --merge, --keep are silent.
* --mixed prints "Unstaged changes after reset: ..."
* --hard prints "HAED is now at..."

If all of those commands move HEAD, shouldn't all of them print "HEAD is
now at..."?

Why should only --mixed print the list of unstaged files? e.g. Isn't it
useful for --soft to give a list of "Staged changes"?
--
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]