Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH v2] contrib: added git-diffall

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:53:08

Stefano Lattarini [off-list ref] writes:
quoted
quoted
+# mktemp is not available on all platforms (missing from msysgit)
+# Use a hard-coded tmp dir if it is not available
+tmp="$(mktemp -d -t tmp.XXXXXX 2>/dev/null)" || {
+	tmp=/tmp/git-diffall-tmp
+}
 ...
  # mktemp is not available on all platforms (missing from msysgit)
   tmp=$(mktemp -d -t tmp.XXXXXX 2>/dev/null) || {
       tmp=/tmp/git-diffall-tmp.$$
       mkdir "$tmp" || fatal "couldn't create temporary directory"
  }
quoted
quoted
+mkdir -p "$tmp"
At which point this should be removed, of course.
Good eyes; thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help