RPM Package Manager, CVS Repository
  http://rpm5.org/cvs/
  ____________________________________________________________________________

  Server: rpm5.org                         Name:   Jeff Johnson
  Root:   /v/rpm/cvs                       Email:  j...@rpm5.org
  Module: rpm                              Date:   16-Aug-2014 00:52:31
  Branch: rpm-5_4                          Handle: 2014081522523000

  Modified files:           (Branch: rpm-5_4)
    rpm/tests               Makefile.am

  Log:
    - git: create ~/.gitconfig if non-existent.

  Summary:
    Revision    Changes     Path
    1.95.2.66   +8  -0      rpm/tests/Makefile.am
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/tests/Makefile.am
  ============================================================================
  $ cvs diff -u -r1.95.2.65 -r1.95.2.66 Makefile.am
  --- rpm/tests/Makefile.am     13 Aug 2014 17:56:56 -0000      1.95.2.65
  +++ rpm/tests/Makefile.am     15 Aug 2014 22:52:30 -0000      1.95.2.66
  @@ -1029,6 +1029,14 @@
        @mkdir -p ${gitdir}
   if WITH_LIBGIT2
        @${echo} -n "--> rpmgit:"
  +     @if test ! -f $${HOME}/.gitconfig; then \
  +       { echo "[user]"; \
  +         echo "      email = some...@nowhere.org"; \
  +         echo "      name = Jack Spratt"; \
  +         echo "[color]"; \
  +         echo "      ui = auto"; \
  +       } > $${HOME}/.gitconfig; \
  +     fi 
        @${echo} -n " init"
        @${tgit} init --initial-commit >> tmp/git.out
        @-(cd ${gitdir} && ${git} log --stat 2>&1) >> tmp/git.out
  @@ .
______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
CVS Sources Repository                                rpm-cvs@rpm5.org

Reply via email to