{"thread":{"id":"491","subject":"list all dirty files in working directory","startedAt":"2005-05-05T21:21:53Z","lastAt":"2005-05-06T02:06:37Z","messageCount":4,"participants":["Thomas Glanzmann","Andreas Gal","Linus Torvalds"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"2635","messageId":"20050505212152.GP20994@cip.informatik.uni-erlangen.de","threadId":"491","inReplyTo":null,"subject":"list all dirty files in working directory","fromName":"Thomas Glanzmann","fromEmail":"sithglan@stud.uni-erlangen.de","sentAt":"2005-05-05T21:21:53Z","receivedAt":"2005-05-05T21:21:53Z","isPatch":false,"sender":{"key":"sithglan@stud.uni-erlangen.de","avatar":null},"body":"Hello,\nis there another way than call 'checkout-cache -a' and parse the output?\nMaybe a command which lists one dirty file per line?\n\n\tThomas\n"},{"id":"2637","messageId":"20050505213256.GQ20994@cip.informatik.uni-erlangen.de","threadId":"491","inReplyTo":"20050505212152.GP20994@cip.informatik.uni-erlangen.de","subject":"Re: list all dirty files in working directory","fromName":"Thomas Glanzmann","fromEmail":"sithglan@stud.uni-erlangen.de","sentAt":"2005-05-05T21:32:56Z","receivedAt":"2005-05-05T21:32:56Z","isPatch":false,"sender":{"key":"sithglan@stud.uni-erlangen.de","avatar":null},"body":"Hello,\n\n* Thomas Glanzmann <sithglan@stud.uni-erlangen.de> [050505 23:24]:\n> is there another way than call 'checkout-cache -a' and parse the output?\n> Maybe a command which lists one dirty file per line?\n\nof course I meant parsing the output of 'update-cache --refresh'.\n\n\tThomas\n"},{"id":"2638","messageId":"Pine.LNX.4.58.0505051433190.8745@sam.ics.uci.edu","threadId":"491","inReplyTo":"20050505212152.GP20994@cip.informatik.uni-erlangen.de","subject":"Re: list all dirty files in working directory","fromName":"Andreas Gal","fromEmail":"gal@uci.edu","sentAt":"2005-05-05T21:35:05Z","receivedAt":"2005-05-05T21:35:05Z","isPatch":false,"sender":{"key":"gal@uci.edu","avatar":null},"body":"\ngit-update-cache --refresh | while read line; do\n    echo $line | cut -d ':' -f 1\ndone\n\nThat should give you one file per line, for every dirty file. \n\nAndreas\n\nOn Thu, 5 May 2005, Thomas Glanzmann wrote:\n\n> Hello,\n> is there another way than call 'checkout-cache -a' and parse the output?\n> Maybe a command which lists one dirty file per line?\n> \n> \tThomas\n> -\n> To unsubscribe from this list: send the line \"unsubscribe git\" in\n> the body of a message to majordomo@vger.kernel.org\n> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n> \n"},{"id":"2647","messageId":"Pine.LNX.4.58.0505051905200.2328@ppc970.osdl.org","threadId":"491","inReplyTo":"20050505212152.GP20994@cip.informatik.uni-erlangen.de","subject":"Re: list all dirty files in working directory","fromName":"Linus Torvalds","fromEmail":"torvalds@osdl.org","sentAt":"2005-05-06T02:06:37Z","receivedAt":"2005-05-06T02:06:37Z","isPatch":false,"sender":{"key":"torvalds@linux-foundation.org","avatar":"https://avatars.githubusercontent.com/u/1024025?v=4"},"body":"\n\nOn Thu, 5 May 2005, Thomas Glanzmann wrote:\n>\n> is there another way than call 'checkout-cache -a' and parse the output?\n> Maybe a command which lists one dirty file per line?\n\nA simple\n\n\tgit-diff-files\n\ndoes what I think you want.\n\nOf course, it does a lot more too, but part of the deal is that you get to \nknow which files are dirty.\n\n\t\tLinus\n"}]}