{"thread":{"id":"47556","subject":"Documentation for update-index","startedAt":"2018-01-06T23:33:41Z","lastAt":"2018-01-06T23:33:41Z","messageCount":1,"participants":["Rasmus Villemoes"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"336073","messageId":"CAKwiHFj9n8sWcfcie6Qm6pFe4L4u9VL1gv5ZVbnXt_E_Dne7dg@mail.gmail.com","threadId":"47556","inReplyTo":null,"subject":"Documentation for update-index","fromName":"Rasmus Villemoes","fromEmail":"rv@rasmusvillemoes.dk","sentAt":"2018-01-06T23:33:35Z","receivedAt":"2018-01-06T23:33:41Z","isPatch":false,"sender":{"key":"rv@rasmusvillemoes.dk","avatar":"https://avatars.githubusercontent.com/u/4375908?v=4"},"body":"The man page for update-index says\n\n       -q\n           Quiet. If --refresh finds that the index needs an update,\nthe default behavior is to error out. This\n           option makes git update-index continue anyway.\n\n       --ignore-submodules\n           Do not try to update submodules. This option is only\nrespected when passed before --refresh.\n\n\nHowever, it seems that the \"This option is only respected when passed\nbefore --refresh.\" also applies to -q (and --unmerged); at least I get\ndifferent results from\n\n  git update-index -q --refresh\n  git update-index --refresh -q\n\nFrom the documentation, that doesn't seem to be intentional, but the\ncode in update-index.c seems to handle -q, --ignore-submodules,\n--ignore-missing and --unmerged the same way.\n\nRasmus\n"}]}