[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 3df3e62: Synchronize more than one recent com
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 3df3e62: Synchronize more than one recent commit to local mirror |
Date: |
Thu, 2 Nov 2017 08:53:31 -0400 (EDT) |
branch: master
commit 3df3e622be691da20f5a38dcd19700b0f62998f3
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Synchronize more than one recent commit to local mirror
---
gwc/develop1.txt | 5 +++--
tabs/1/startup_script | 2 +-
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/gwc/develop1.txt b/gwc/develop1.txt
index 1a2d3d8..3c4e406 100644
--- a/gwc/develop1.txt
+++ b/gwc/develop1.txt
@@ -103,9 +103,10 @@ cvs -z3 update -l lmi
for z in * ; do [ -f $z ] && ( [ $z -nt /opt/lmi/src/lmi/$z ] || [ $z -ot
/opt/lmi/src/lmi/$z ] ) && touch --reference=/opt/lmi/src/lmi/$z $z; done
- # But that's slow, so specify the files to change, thus:
+ # But that's slow, so specify the files to change, thus
+ # (adjusting the '~5' if fewer or more commits have been made):
-for z in $(git diff HEAD^ --name-only) ; do touch
--reference=/opt/lmi/src/lmi/$z $z; done
+for z in $(git diff HEAD~5 --name-only) ; do touch
--reference=/opt/lmi/src/lmi/$z $z; done
# Third screen: only for building and testing
diff --git a/tabs/1/startup_script b/tabs/1/startup_script
index 385f654..7c22d93 100755
--- a/tabs/1/startup_script
+++ b/tabs/1/startup_script
@@ -5,7 +5,7 @@ a='schroot --chroot=cross-lmi'
b='cd /opt/lmi/free/src/lmi'
c='git remote -v update'
d='git pull'
-e='for z in $(git diff HEAD^ --name-only) ; do touch
--reference=/opt/lmi/src/lmi/$z $z; done'
+e='for z in $(git diff HEAD~5 --name-only) ; do touch
--reference=/opt/lmi/src/lmi/$z $z; done'
print -rs $b ; echo $b ; eval $b
print -rs $c ; echo $c ; eval $c
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi-commits] [lmi] master 3df3e62: Synchronize more than one recent commit to local mirror,
Greg Chicares <=