lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 13805c4 01/10: Make a command handier


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 13805c4 01/10: Make a command handier
Date: Fri, 26 Jun 2020 08:05:19 -0400 (EDT)

branch: master
commit 13805c4514b58b6b74f76eda607eae7310968806
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>

    Make a command handier
    
    When restoring locally-deleted files from the repository, it is often
    useful to have a list of their names. For example, the next step might
    be to edit exactly those files.
    
    (The xargs option '-t' stands for "trace".)
---
 tabs/2/startup_script | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tabs/2/startup_script b/tabs/2/startup_script
index 4e0d626..2201ce8 100755
--- a/tabs/2/startup_script
+++ b/tabs/2/startup_script
@@ -3,7 +3,7 @@
 a='schroot --chroot=lmi'
 
 b='cd /opt/lmi/src/lmi'
-c='git ls-files --deleted | xargs git checkout --'
+c='git ls-files --deleted | xargs -t git checkout --'
 d='for z in *(m-1) ; do touch --reference=$z /opt/lmi/free/src/lmi/$z; done'
 u='eval `ssh-agent`'
 v='ssh-agent $SHELL'



reply via email to

[Prev in Thread] Current Thread [Next in Thread]