nightlybuilds: add -x to 'git clean' for buildtest aswell
git: rev-parse adds newlines and breaks compiles. reverting to 'log -1'
Merge branch 'balay/nightlybuilds-change-to-git' of bitbucket:petsc/petsc

* 'balay/nightlybuilds-change-to-git' of bitbucket:petsc/petsc:
  git: rev-parse adds newlines and breaks compiles. reverting to 'log -1'
  nightlybuilds: add -x to 'git clean' for buildtest aswell
Merge branch 'jed/fix-threadcomm-petscstack-rank0'

* jed/fix-threadcomm-petscstack-rank0:
  threadcomm: create petscstack on threadrank != 0 (memory leak)
petscviewer.h: end with __FUNCT__ = "User provided function"
Merge branch 'jed/fix-mat-composite-merge-invalid-read'

* jed/fix-mat-composite-merge-invalid-read:
  MatCompositeMerge: fix invalid access to scale after MatHeaderReplace()
  mat ex9.c: fix use of VecAXPY()
stylechecker: escape code portability
stylechecker: print line number
Merge branch 'jed/checklink-cxx' of bitbucket:petsc/petsc

* 'jed/checklink-cxx' of bitbucket:petsc/petsc:
  checkLink: use C++ linker for checkLink if package sets self.cxx
Merge branch 'blaise/stylecheck'

* blaise/stylecheck:
  stylechecker: print line number
  stylechecker: escape code portability
Added DMDA{Set/Get}NumLocalSubDomains()

Allow for the creation of multiple subdomains per process; next is implementation
DMDAGet/SetNonOverlappingRegion() for subdomain DAs

These functions generalize the capability of defining inner and outer subdomains to the case where the nonoverlapping
portion might not just be the processor local bit.
Noncollective version of DMDACreatePatchIS()

Replaces global communcication hash in natural coordinates with
tedious calculation of processor offsets and such.  IS now has
PETSC_COMM_SELF rather than the da's comm.
Added support for multiple subdomains per processor to DMDA

This treats the local block a lot like the rank partitioning in DMDACreate1/2/3D().  It also fixes the problem of having
too big an overlap; now the overlap is properly truncated at the boundaries.
Merge branch 'master' into next

* master:
  stylechecker: print line number
  stylechecker: escape code portability
  petscviewer.h: end with __FUNCT__ = "User provided function"
  git: rev-parse adds newlines and breaks compiles. reverting to 'log -1'
  nightlybuilds: add -x to 'git clean' for buildtest aswell

Conflicts:
	include/petscviewer.h
Merge branch 'prbrune/dmda-subdomains-per-process' into next