[Pkg-ocaml-maint-commits] r5450 - in /trunk/projects/git-guide: checkout-d-o-m-git-repo new-d-o-m-git-repo

zack at users.alioth.debian.org zack at users.alioth.debian.org
Tue Apr 8 15:52:53 UTC 2008


Author: zack
Date: Tue Apr  8 15:52:53 2008
New Revision: 5450

URL: http://svn.debian.org/wsvn/?sc=1&rev=5450
Log:
better handling of pristine-tar

Modified:
    trunk/projects/git-guide/checkout-d-o-m-git-repo
    trunk/projects/git-guide/new-d-o-m-git-repo

Modified: trunk/projects/git-guide/checkout-d-o-m-git-repo
URL: http://svn.debian.org/wsvn/trunk/projects/git-guide/checkout-d-o-m-git-repo?rev=5450&op=diff
==============================================================================
--- trunk/projects/git-guide/checkout-d-o-m-git-repo (original)
+++ trunk/projects/git-guide/checkout-d-o-m-git-repo Tue Apr  8 15:52:53 2008
@@ -14,7 +14,8 @@
 
 echo "I: setting up remote tracking"
 (cd $PACKAGE
- git branch --track upstream remotes/origin/upstream)
+ git branch --track upstream remotes/origin/upstream
+ git branch --track pristine-tar remotes/origin/pristine-tar)
 
 echo "I: all done, enjoy."
 

Modified: trunk/projects/git-guide/new-d-o-m-git-repo
URL: http://svn.debian.org/wsvn/trunk/projects/git-guide/new-d-o-m-git-repo?rev=5450&op=diff
==============================================================================
--- trunk/projects/git-guide/new-d-o-m-git-repo (original)
+++ trunk/projects/git-guide/new-d-o-m-git-repo Tue Apr  8 15:52:53 2008
@@ -19,7 +19,9 @@
 mkdir $PACKAGE
 (cd $PACKAGE
  git init
- git-import-orig "$TARBALL")
+ git commit --allow-empty -m 'commit root'
+ git branch upstream
+ git-import-orig --pristine-tar --no-dch "$TARBALL")
  
 echo "I: pushing first changes to alioth.d.o"
 (cd $PACKAGE




More information about the Pkg-ocaml-maint-commits mailing list