ref: 504dc0cb46de77f22a78eb5b521a8d6ff475fd94
parent: 611d84fcf2eb51eff7281321f45d9c8953340a4e
author: Ori Bernstein <ori@eigenstate.org>
date: Sun Dec 8 19:46:54 EST 2019
munge carriage returns in git/pull, same as git/clone.
--- a/pull
+++ b/pull
@@ -16,7 +16,8 @@
url=$3
dir=$4
- {git/fetch -b $branch -u $upstream $url || die $status} | awk '
+ echo git/fetch -b $branch -u $upstream $url
+ {git/fetch -b $branch -u $upstream $url >[2=3] || die $status} | awk '
/^remote/{
if($2=="HEAD")
next
@@ -28,7 +29,7 @@
print hash > outfile;
close(outfile);
}
- '
+ ' |[3] tr '\x0d' '\x0a'
}
gitup