home
/
code
/
khome.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf93be1
)
Add backup TODO
author
Siraaj Khandkar
<siraaj@khandkar.net>
Fri, 10 Jun 2022 16:43:58 +0000
(12:43 -0400)
committer
Siraaj Khandkar
<siraaj@khandkar.net>
Fri, 10 Jun 2022 16:43:58 +0000
(12:43 -0400)
Makefile
patch
|
blob
|
blame
|
history
diff --git
a/Makefile
b/Makefile
index
01156ae
..
b72f1f9
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-167,6
+167,10
@@
pull:
| xargs -0 -I% sh -c '$(DIFF) -q ~/% home/% > /dev/null || cp ~/% home/%'
push:
+ # TODO Backup files before replacing.
+ # But - recursive copy is not a good strategy for this.
+ # Need to do a file by file pass, like the diff recipe.
+ #
# Limit depth because directories are copied recursively:
find home -maxdepth 1 -print0 \
| $(GREP) -zv '^home$$' \
This page took
0.023595 seconds
and
4
git commands to generate.