projects
/
don.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e49d516
)
remove extraneous trailing space in example
author
Don Armstrong
<don@donarmstrong.com>
Sun, 16 Feb 2014 20:19:37 +0000
(12:19 -0800)
committer
Don Armstrong
<don@donarmstrong.com>
Sun, 16 Feb 2014 20:19:37 +0000
(12:19 -0800)
posts/working_with_org.mdwn
patch
|
blob
|
history
diff --git
a/posts/working_with_org.mdwn
b/posts/working_with_org.mdwn
index
9f5bbc0
..
c786300
100644
(file)
--- a/
posts/working_with_org.mdwn
+++ b/
posts/working_with_org.mdwn
@@
-20,8
+20,8
@@
ORG_GREP='-e .org$ -e .org_archive$ -e .org_done$'
if [ "x$1" == "xdoit" ]; then
if git status --porcelain -z | grep -z '^ M' | grep -zq $ORG_GREP; then
- git status --porcelain -z | grep -z '^ M' | grep -z $ORG_GREP | \
- sed -z 's/^ M//g' | \
+ git status --porcelain -z | grep -z '^ M' | grep -z $ORG_GREP | \
+
sed -z 's/^ M//g' | \
xargs -0 git commit -m'update org files'
git push;
fi;