{"thread":{"id":"27888","subject":"reset: silent for some commands, verbose for others?","startedAt":"2011-07-22T16:38:42Z","lastAt":"2011-07-22T17:43:36Z","messageCount":2,"participants":["Ori Avtalion","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"171844","messageId":"4E29A792.9020805@avtalion.name","threadId":"27888","inReplyTo":null,"subject":"reset: silent for some commands, verbose for others?","fromName":"Ori Avtalion","fromEmail":"ori@avtalion.name","sentAt":"2011-07-22T16:38:42Z","receivedAt":"2011-07-22T16:38:42Z","isPatch":false,"sender":{"key":"ori@avtalion.name","avatar":"https://avatars.githubusercontent.com/u/28355?v=4"},"body":"Looking at the reset's command third form:\n\n  reset [--soft | --mixed | --hard | --merge | --keep] [-q] [<commit>]\n\n* --soft, --merge, --keep are silent.\n* --mixed prints \"Unstaged changes after reset: ...\"\n* --hard prints \"HAED is now at...\"\n\nIf all of those commands move HEAD, shouldn't all of them print \"HEAD is\nnow at...\"?\n\nWhy should only --mixed print the list of unstaged files? e.g. Isn't it\nuseful for --soft to give a list of \"Staged changes\"?\n"},{"id":"171848","messageId":"7vei1iyzw7.fsf@alter.siamese.dyndns.org","threadId":"27888","inReplyTo":"4E29A792.9020805@avtalion.name","subject":"Re: reset: silent for some commands, verbose for others?","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2011-07-22T17:43:36Z","receivedAt":"2011-07-22T17:43:36Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Ori Avtalion <ori@avtalion.name> writes:\n\n> Looking at the reset's command third form:\n>\n>   reset [--soft | --mixed | --hard | --merge | --keep] [-q] [<commit>]\n>\n> * --soft, --merge, --keep are silent.\n> * --mixed prints \"Unstaged changes after reset: ...\"\n> * --hard prints \"HAED is now at...\"\n>\n> If all of those commands move HEAD, shouldn't all of them print \"HEAD is\n> now at...\"?\n>\n> Why should only --mixed print the list of unstaged files? e.g. Isn't it\n> useful for --soft to give a list of \"Staged changes\"?\n\nI would say not, as you would use \"soft\" only when you _know_ what you\nhave in the index is what you want, and more importantly it does not\nchange what is in the index, unlike \"mixed\" variant.\n"}]}