From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Naewe Subject: Re: use case: keep the output of a markup (TeX) file under revision control Date: Fri, 18 Feb 2011 07:59:36 +0100 Organization: ATLAS Elektronik GmbH Message-ID: <4D5E18D8.8030106@atlas-elektronik.com> References: <1297939020.3959.12.camel@mattotaupa> <4D5D0EA2.4000805@atlas-elektronik.com> <1297972319.3944.30.camel@mattotaupa> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: "git@vger.kernel.org" To: Paul Menzel X-From: git-owner@vger.kernel.org Fri Feb 18 07:59:49 2011 Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PqKJg-0003fb-CP for gcvg-git-2@lo.gmane.org; Fri, 18 Feb 2011 07:59:48 +0100 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752991Ab1BRG7l convert rfc822-to-quoted-printable (ORCPT ); Fri, 18 Feb 2011 01:59:41 -0500 Received: from mail96.atlas.de ([194.156.172.86]:21367 "EHLO mail96.atlas.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752519Ab1BRG7k (ORCPT ); Fri, 18 Feb 2011 01:59:40 -0500 Received: from localhost (localhost [127.0.0.1]) by mail96.atlas.de (Postfix) with ESMTP id B136F10069; Fri, 18 Feb 2011 07:59:35 +0100 (CET) X-Virus-Scanned: amavisd-new at lxsrv96.atlas.de Received: from mail96.atlas.de ([127.0.0.1]) by localhost (lxsrv96.atlas.de [127.0.0.1]) (amavisd-new, port 10124) with ESMTP id BLg0SWogL6SF; Fri, 18 Feb 2011 07:59:35 +0100 (CET) Received: from mgsrv01.atlas.de (mailrelay-atlas.atlas.de [10.200.101.16]) by mail96.atlas.de (Postfix) with ESMTP; Fri, 18 Feb 2011 07:59:35 +0100 (CET) Received: from [141.200.42.243] (as106913.atlas.de [141.200.42.243]) by mgsrv01.atlas.de (Postfix) with ESMTP id DF2272716A; Fri, 18 Feb 2011 07:59:34 +0100 (CET) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.14) Gecko/20080421 Lightning/0.8 Thunderbird/2.0.0.14 Mnenhy/0.7.5.0 In-Reply-To: <1297972319.3944.30.camel@mattotaupa> X-Enigmail-Version: 1.1.1 Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On 2/17/2011 8:51 PM, Paul Menzel wrote: >> Why don't you keep the PDF files in a separate branch ? Look at git'= s >> git repository (http://git.kernel.org/?p=3Dgit/git.git) in the html=20 >> and man branches. >=20 > Very interesting. Thank you very much for this hint. >=20 > Is the used solution in git=E2=80=99s git repository a result of the = problem > with maintaining generated output from source files or does it have > other other advantages too? >=20 > When creating TeX documents =E2=80=93 at least in my work flow =E2=80= =93 I always have > the PDF file open in parallel. Would that be a problem when having it= in > a separate branch? I'd create a second clone and checkout the 'PDF' (or whatever you might= call it) branch there. > Also I guess that this is done automatically too (saying autogenerate= d > in `git log origin/man`). I could not find the script though. >=20 > $ git grep Autogen > git-gui/Makefile: echo '# Autogenerated by git-gui Mak= efile' >$@ && \ > git-gui/git-gui.sh:if {[gets $fd] eq {# Autogenerated by git-= gui Makefile}} { >=20 > and searching for =C2=BBgit "Autogenerated manpages for"=C2=AB did no= t return > anything useful for me. Try: git grep "Autogenerated " origin/todo It's in 'dodoc.sh' on branch 'todo' > Additionally I am confused where the SHA id g43f9f in =C2=BBAutogener= ated > manpages for v1.7.4.1-42-g43f9f=C2=AB comes from. I could not find th= at > commit in `origin/master` or `git log v1.7.4.1`. Try: git show 43f9f (and 'git help describe') =20 > The last thing is that in git=E2=80=99s git repository the autogenera= tion of the > manual pages does not seem to happen every commit (Is it a cron job?)= =2E > In my use case the PDF file should be generated after every commit. I= s a > separate branch the way to go here? I guess the autogeneration takes place on every push to 'master'. That should work for you, too. Your decision... HTH, Stefan --=20 ---------------------------------------------------------------- /dev/random says: I was going to procrastinate, but I put it off....