{"thread":{"id":"28446","subject":"[PATCH] Documentation/git-update-index: refer to 'ls-files'","startedAt":"2011-09-20T12:23:47Z","lastAt":"2011-09-21T06:21:50Z","messageCount":3,"participants":["Stefan Naewe","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"175862","messageId":"1316521427-20855-1-git-send-email-stefan.naewe@gmail.com","threadId":"28446","inReplyTo":null,"subject":"[PATCH] Documentation/git-update-index: refer to 'ls-files'","fromName":"Stefan Naewe","fromEmail":"stefan.naewe@gmail.com","sentAt":"2011-09-20T12:23:47Z","receivedAt":"2011-09-20T12:23:47Z","isPatch":true,"sender":{"key":"stefan.naewe@gmail.com","avatar":"https://avatars.githubusercontent.com/u/4468?v=4"},"body":"'ls-files' refers to 'update-index' to show how the 'assume unchanged'\ncan be seen. This makes the connection 'bi-directional'.\n\nSigned-off-by: Stefan Naewe <stefan.naewe@gmail.com>\n---\n Documentation/git-update-index.txt |    5 ++++-\n 1 files changed, 4 insertions(+), 1 deletions(-)\n\ndiff --git a/Documentation/git-update-index.txt b/Documentation/git-update-index.txt\nindex d393129..169941a 100644\n--- a/Documentation/git-update-index.txt\n+++ b/Documentation/git-update-index.txt\n@@ -276,6 +276,8 @@ unchanged\".  Note that \"assume unchanged\" bit is *not* set if\n the index (use `git update-index --really-refresh` if you want\n to mark them as \"assume unchanged\").\n \n+To see which files have the \"assume unchanged\" bit set, use\n+`git ls-files -v` (see linkgit:git-update-index[1]).\n \n Examples\n --------\n@@ -363,7 +365,8 @@ ctime for marking files processed) (see linkgit:git-config[1]).\n SEE ALSO\n --------\n linkgit:git-config[1],\n-linkgit:git-add[1]\n+linkgit:git-add[1],\n+linkgit:git-update-index[1]\n \n GIT\n ---\n-- \n1.7.7.rc2\n"},{"id":"175886","messageId":"7vmxdz56xt.fsf@alter.siamese.dyndns.org","threadId":"28446","inReplyTo":"1316521427-20855-1-git-send-email-stefan.naewe@gmail.com","subject":"Re: [PATCH] Documentation/git-update-index: refer to 'ls-files'","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2011-09-20T19:50:54Z","receivedAt":"2011-09-20T19:50:54Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Stefan Naewe <stefan.naewe@gmail.com> writes:\n\n> 'ls-files' refers to 'update-index' to show how the 'assume unchanged'\n> can be seen. This makes the connection 'bi-directional'.\n\nThanks, but for that bi-directional connection, I think the place you\ninserted the new text is suboptimal. There is a single paragraph with two\nsentences to teach how to set and how to unset. Adding another to teach\nhow to inspect would flow the resulting logic more naturally.\n"},{"id":"175917","messageId":"1316586110-6845-1-git-send-email-stefan.naewe@gmail.com","threadId":"28446","inReplyTo":"7vmxdz56xt.fsf@alter.siamese.dyndns.org","subject":"[PATCH v4] Documentation/git-update-index: refer to 'ls-files'","fromName":"Stefan Naewe","fromEmail":"stefan.naewe@gmail.com","sentAt":"2011-09-21T06:21:50Z","receivedAt":"2011-09-21T06:21:50Z","isPatch":true,"sender":{"key":"stefan.naewe@gmail.com","avatar":"https://avatars.githubusercontent.com/u/4468?v=4"},"body":"'ls-files' refers to 'update-index' to show how the 'assume unchanged'\nbit can be seen. This makes the connection 'bi-directional'.\n\nSigned-off-by: Stefan Naewe <stefan.naewe@gmail.com>\n---\n\n As Junio suggested, move the new sentence a little to the place where\n setting and unsetting are explained.\n\n Documentation/git-update-index.txt |    7 +++++--\n 1 files changed, 5 insertions(+), 2 deletions(-)\n\ndiff --git a/Documentation/git-update-index.txt b/Documentation/git-update-index.txt\nindex d393129..d8af8ae 100644\n--- a/Documentation/git-update-index.txt\n+++ b/Documentation/git-update-index.txt\n@@ -264,7 +264,9 @@ tree files, you have to explicitly tell git about it by dropping\n \"assume unchanged\" bit, either before or after you modify them.\n \n In order to set \"assume unchanged\" bit, use `--assume-unchanged`\n-option.  To unset, use `--no-assume-unchanged`.\n+option.  To unset, use `--no-assume-unchanged`. To see which files\n+have the \"assume unchanged\" bit set, use `git ls-files -v` \n+(see linkgit:git-ls-files[1]).\n \n The command looks at `core.ignorestat` configuration variable.  When\n this is true, paths updated with `git update-index paths...` and\n@@ -363,7 +365,8 @@ ctime for marking files processed) (see linkgit:git-config[1]).\n SEE ALSO\n --------\n linkgit:git-config[1],\n-linkgit:git-add[1]\n+linkgit:git-add[1],\n+linkgit:git-ls-files[1]\n \n GIT\n ---\n-- \n1.7.7.rc2\n"}]}