1. 12 5月, 2005 1 次提交
  2. 11 5月, 2005 13 次提交
  3. 10 5月, 2005 4 次提交
    • J
      Do not report size of the object that cannot be written in local-pull.c · b4635be7
      Junio C Hamano 提交于
      Reporting st.st_size with %ld is simply wrong, as H Peter Anvin
      says.  No other pull drivers report the failure with size
      anyway, so yank it out.  This is a cop-out patch but should be
      good enough.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      b4635be7
    • J
      Introduce GIT_DIR environment variable. · 8ac069ac
      Junio C Hamano 提交于
      During the mailing list discussion on renaming GIT_ environment
      variables, people felt that having one environment that lets the
      user (or Porcelain) specify both SHA1_FILE_DIRECTORY (now
      GIT_OBJECT_DIRECTORY) and GIT_INDEX_FILE for the default layout
      would be handy.  This change introduces GIT_DIR environment
      variable, from which the defaults for GIT_INDEX_FILE and
      GIT_OBJECT_DIRECTORY are derived.  When GIT_DIR is not defined,
      it defaults to ".git".  GIT_INDEX_FILE defaults to
      "$GIT_DIR/index" and GIT_OBJECT_DIRECTORY defaults to
      "$GIT_DIR/objects".
      
      Special thanks for ideas and discussions go to Petr Baudis and
      Daniel Barkalow.  Bugs are mine ;-)
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      8ac069ac
    • J
      Rename environment variables. · d19938ab
      Junio C Hamano 提交于
      H. Peter Anvin mentioned that using SHA1_whatever as an
      environment variable name is not nice and we should instead use
      names starting with "GIT_" prefix to avoid conflicts.  Here is
      what this patch does:
      
       * Renames the following environment variables:
      
          New name                           Old Name
      
          GIT_AUTHOR_DATE                    AUTHOR_DATE
          GIT_AUTHOR_EMAIL                   AUTHOR_EMAIL
          GIT_AUTHOR_NAME                    AUTHOR_NAME
          GIT_COMMITTER_EMAIL                COMMIT_AUTHOR_EMAIL
          GIT_COMMITTER_NAME                 COMMIT_AUTHOR_NAME
          GIT_ALTERNATE_OBJECT_DIRECTORIES   SHA1_FILE_DIRECTORIES
          GIT_OBJECT_DIRECTORY               SHA1_FILE_DIRECTORY
      
       * Introduces a compatibility macro, gitenv(), which does an
         getenv() and if it fails calls gitenv_bc(), which in turn
         picks up the value from old name while giving a warning about
         using an old name.
      
       * Changes all users of the environment variable to fetch
         environment variable with the new name using gitenv().
      
       * Updates the documentation and scripts shipped with Linus GIT
         distribution.
      
      The transition plan is as follows:
      
       * We will keep the backward compatibility list used by gitenv()
         for now, so the current scripts and user environments
         continue to work as before.  The users will get warnings when
         they have old name but not new name in their environment to
         the stderr.
      
       * The Porcelain layers should start using new names.  However,
         just in case it ends up calling old Plumbing layer
         implementation, they should also export old names, taking
         values from the corresponding new names, during the
         transition period.
      
       * After a transition period, we would drop the compatibility
         support and drop gitenv().  Revert the callers to directly
         call getenv() but keep using the new names.
      
         The last part is probably optional and the transition
         duration needs to be set to a reasonable value.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      d19938ab
    • P
      Add copyright notice of Rene Scharfe to tar-tree.c · 92747a90
      Petr Baudis 提交于
      92747a90
  4. 09 5月, 2005 5 次提交
  5. 08 5月, 2005 11 次提交
  6. 07 5月, 2005 6 次提交