1. 18 5月, 2006 2 次提交
    • S
      Log ref updates to logs/refs/<ref> · 6de08ae6
      Shawn Pearce 提交于
      If config parameter core.logAllRefUpdates is true or the log
      file already exists then append a line to ".git/logs/refs/<ref>"
      whenever git-update-ref <ref> is executed.  Each log line contains
      the following information:
      
        oldsha1 <SP> newsha1 <SP> committer <LF>
      
      where committer is the current user, date, time and timezone in
      the standard GIT ident format.  If the caller is unable to append
      to the log file then git-update-ref will fail without updating <ref>.
      
      An optional message may be included in the log line with the -m flag.
      Signed-off-by: NShawn O. Pearce <spearce@spearce.org>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      6de08ae6
    • S
      Improve abstraction of ref lock/write. · 4bd18c43
      Shawn Pearce 提交于
      Created 'struct ref_lock' to contain the data necessary to perform
      a ref update.  This change improves writing a ref as the file names
      are generated only once (rather than twice) and supports following
      symrefs (up to the maximum depth).  Further the ref_lock structure
      provides room to extend the update API with ref logging.
      Signed-off-by: NShawn O. Pearce <spearce@spearce.org>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      4bd18c43
  2. 15 5月, 2006 1 次提交
  3. 06 7月, 2005 1 次提交
  4. 04 7月, 2005 1 次提交
  5. 03 7月, 2005 1 次提交
  6. 07 6月, 2005 1 次提交