Am Samstag, 2. Juli 2011 schrieb Pavel Sanda:
> Kornel wrote:
> > Nothing, I only don't know, how to call git :(
> 
> would this help?
> 
> the simplest version in bash would be something like
> object="$2" #eg HEAD~100 or any other...
> file="$3"
> tmpfile=/tmp/blabla
> 
> git show "$object":po/"$file" > $tmpfile #now we have the revision wanted
> in $tmpfile
> 
> plus some syntax suger to check file exist, there is "-r" in $1 and so on.
> pavel

Yes, seams to work. Please try.

        Kornel

Attachment: diff_po.pl
Description: Perl program

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to