{"thread":{"id":"21732","subject":"commit --quiet option","startedAt":"2009-11-24T05:16:22Z","lastAt":"2009-11-25T02:06:23Z","messageCount":3,"participants":["bill lam","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"128228","messageId":"20091124051622.GB18003@debian.b2j","threadId":"21732","inReplyTo":null,"subject":"commit --quiet option","fromName":"bill lam","fromEmail":"cbill.lam@gmail.com","sentAt":"2009-11-24T05:16:22Z","receivedAt":"2009-11-24T05:16:22Z","isPatch":false,"sender":{"key":"cbill.lam@gmail.com","avatar":null},"body":"In git version 1.6.6.rc0.15.g4fa8a0 using the --quiet option it still show some\noutput.  Is that intended?  Specifically I would like to exclude message about\nthe untracked files when using --quite option.\n\n$ git commit -q -m commit\n# On branch master\n# Changed but not updated:\n#   (use \"git add <file>...\" to update what will be committed)\n#   (use \"git checkout -- <file>...\" to discard changes in working directory)\n#\n#       modified:   .git-completion.bash\n#       modified:   bin/mirrorgit\n#\n# Untracked files:\n#   (use \"git add <file>...\" to include in what will be committed)\n#\n#       a123\nno changes added to commit (use \"git add\" and/or \"git commit -a\")\n\n-- \nregards,\n====================================================\nGPG key 1024D/4434BAB3 2008-08-24\ngpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3\n"},{"id":"128271","messageId":"7vtywj76k4.fsf@alter.siamese.dyndns.org","threadId":"21732","inReplyTo":"20091124051622.GB18003@debian.b2j","subject":"Re: commit --quiet option","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2009-11-25T01:10:35Z","receivedAt":"2009-11-25T01:10:35Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"bill lam <cbill.lam@gmail.com> writes:\n\n> In git version 1.6.6.rc0.15.g4fa8a0 using the --quiet option it still\n> show some output.  Is that intended?  Specifically I would like to\n> exclude message about the untracked files when using --quite option.\n\nGiven that you are getting \"you told me to make a commit without preparing\nanything to commit\" error message, I think it can be argued in both ways.\n\n    $ git commit -q -uno -m 'meaningless message'\n\nwould omit the listing of Untracked files; a better alternative, depending\non what are listed in the section (I take \"a123\" is an example made-up for\nreproduction recipe, and you are probably getting something like 'foo.bak'\nin real life), might be to update your .gitignore, though.\n\n> $ git commit -q -m commit\n> # On branch master\n> # Changed but not updated:\n> #   (use \"git add <file>...\" to update what will be committed)\n> #   (use \"git checkout -- <file>...\" to discard changes in working directory)\n> #\n> #       modified:   .git-completion.bash\n> #       modified:   bin/mirrorgit\n> #\n> # Untracked files:\n> #   (use \"git add <file>...\" to include in what will be committed)\n> #\n> #       a123\n> no changes added to commit (use \"git add\" and/or \"git commit -a\")\n>\n> -- \n> regards,\n> ====================================================\n> GPG key 1024D/4434BAB3 2008-08-24\n> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3\n"},{"id":"128276","messageId":"20091125020623.GC4048@debian.b2j","threadId":"21732","inReplyTo":"7vtywj76k4.fsf@alter.siamese.dyndns.org","subject":"Re: commit --quiet option","fromName":"bill lam","fromEmail":"cbill.lam@gmail.com","sentAt":"2009-11-25T02:06:23Z","receivedAt":"2009-11-25T02:06:23Z","isPatch":false,"sender":{"key":"cbill.lam@gmail.com","avatar":null},"body":"On Tue, 24 Nov 2009, Junio C Hamano wrote:\n> bill lam <cbill.lam@gmail.com> writes:\n> \n> > In git version 1.6.6.rc0.15.g4fa8a0 using the --quiet option it still\n> > show some output.  Is that intended?  Specifically I would like to\n> > exclude message about the untracked files when using --quite option.\n> \n> Given that you are getting \"you told me to make a commit without preparing\n> anything to commit\" error message, I think it can be argued in both ways.\n> \n>     $ git commit -q -uno -m 'meaningless message'\n> \n> would omit the listing of Untracked files; a better alternative, depending\n> on what are listed in the section (I take \"a123\" is an example made-up for\n> reproduction recipe, and you are probably getting something like 'foo.bak'\n> in real life), might be to update your .gitignore, though.\n\nThat git-commit is intended to run inside a cron job for backup from\nhome folder and .files, so 'commit' is better than 'meaningless\nmessage'.  .gitignore is already maintained however those 'a123' is a\nreal life example, they are artifacts of '3m post-it' files because I\nrarely use clipboard (c-ins/c-ins) to copy text from one application\ninto another. \n\nThanks for tips on -uno option.\n\n-- \nregards,\n====================================================\nGPG key 1024D/4434BAB3 2008-08-24\ngpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3\n"}]}