Repository : ssh://git@open-mesh.org/doc
On branches: backup-redmine/2017-07-13,master
commit 9120353d6058e88c089ebeb699c398ac6e427c0e Author: Sven Eckelmann sven@narfation.org Date: Sun May 23 22:40:56 2010 +0000
doc: batman-adv/LinuxNextTracking
9120353d6058e88c089ebeb699c398ac6e427c0e batman-adv/LinuxNextTracking.textile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/batman-adv/LinuxNextTracking.textile b/batman-adv/LinuxNextTracking.textile index 6af37dc9..245fbe85 100644 --- a/batman-adv/LinuxNextTracking.textile +++ b/batman-adv/LinuxNextTracking.textile @@ -17,7 +17,9 @@ cp /srv/git/batman-adv/hooks/post-receive linux-next.git/hooks/manual-hook chmod +x linux-next.git/hooks/manual-hook cat << 'EOF' > linux-next.git/sync-git #! /bin/sh -MY_REV="refs/heads/master" +export MY_REV="refs/heads/master" +export GIT_DIR=/home/batman/linux-next.git +cd "$GIT_DIR" cd /home/batman/linux-next.git oldrev="`git rev-parse $MY_REV`" git fetch