* list all dirty files in working directory
@ 2005-05-05 21:21 Thomas Glanzmann
2005-05-05 21:32 ` Thomas Glanzmann
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Thomas Glanzmann @ 2005-05-05 21:21 UTC (permalink / raw)
To: GIT
Hello,
is there another way than call 'checkout-cache -a' and parse the output?
Maybe a command which lists one dirty file per line?
Thomas
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: list all dirty files in working directory
2005-05-05 21:21 list all dirty files in working directory Thomas Glanzmann
@ 2005-05-05 21:32 ` Thomas Glanzmann
2005-05-05 21:35 ` Andreas Gal
2005-05-06 2:06 ` Linus Torvalds
2 siblings, 0 replies; 4+ messages in thread
From: Thomas Glanzmann @ 2005-05-05 21:32 UTC (permalink / raw)
To: GIT
Hello,
* Thomas Glanzmann <sithglan@stud.uni-erlangen.de> [050505 23:24]:
> is there another way than call 'checkout-cache -a' and parse the output?
> Maybe a command which lists one dirty file per line?
of course I meant parsing the output of 'update-cache --refresh'.
Thomas
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: list all dirty files in working directory
2005-05-05 21:21 list all dirty files in working directory Thomas Glanzmann
2005-05-05 21:32 ` Thomas Glanzmann
@ 2005-05-05 21:35 ` Andreas Gal
2005-05-06 2:06 ` Linus Torvalds
2 siblings, 0 replies; 4+ messages in thread
From: Andreas Gal @ 2005-05-05 21:35 UTC (permalink / raw)
To: Thomas Glanzmann; +Cc: GIT
git-update-cache --refresh | while read line; do
echo $line | cut -d ':' -f 1
done
That should give you one file per line, for every dirty file.
Andreas
On Thu, 5 May 2005, Thomas Glanzmann wrote:
> Hello,
> is there another way than call 'checkout-cache -a' and parse the output?
> Maybe a command which lists one dirty file per line?
>
> Thomas
> -
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: list all dirty files in working directory
2005-05-05 21:21 list all dirty files in working directory Thomas Glanzmann
2005-05-05 21:32 ` Thomas Glanzmann
2005-05-05 21:35 ` Andreas Gal
@ 2005-05-06 2:06 ` Linus Torvalds
2 siblings, 0 replies; 4+ messages in thread
From: Linus Torvalds @ 2005-05-06 2:06 UTC (permalink / raw)
To: Thomas Glanzmann; +Cc: GIT
On Thu, 5 May 2005, Thomas Glanzmann wrote:
>
> is there another way than call 'checkout-cache -a' and parse the output?
> Maybe a command which lists one dirty file per line?
A simple
git-diff-files
does what I think you want.
Of course, it does a lot more too, but part of the deal is that you get to
know which files are dirty.
Linus
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-05-06 1:58 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-05 21:21 list all dirty files in working directory Thomas Glanzmann
2005-05-05 21:32 ` Thomas Glanzmann
2005-05-05 21:35 ` Andreas Gal
2005-05-06 2:06 ` Linus Torvalds
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).