1. 12 10月, 2005 6 次提交
    • T
      Export template_dir in Makefile. · ec2d1511
      Tom Prince 提交于
      If somebody set template_dir in config.mak. Then git-init-db would be
      compiled with the correct location but the templates would be installed
      in the default location. Fix it.
      Signed-off-by: NTom Prince <tom.prince@ualberta.net>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      ec2d1511
    • J
      Use core.filemode. · 3e09cdfd
      Junio C Hamano 提交于
      With "[core] filemode = false", you can tell git to ignore
      differences in the working tree file only in executable bit.
      
       * "git-update-index --refresh" does not say "needs update" if index
         entry and working tree file differs only in executable bit.
      
       * "git-update-index" on an existing path takes executable bit
         from the existing index entry, if the path and index entry are
         both regular files.
      
       * "git-diff-files" and "git-diff-index" without --cached flag
         pretend the path on the filesystem has the same executable
         bit as the existing index entry, if the path and index entry
         are both regular files.
      
      If you are on a filesystem with unreliable mode bits, you may need to
      force the executable bit after registering the path in the index.
      
       * "git-update-index --chmod=+x foo" flips the executable bit of the
         index file entry for path "foo" on.  Use "--chmod=-x" to flip it
         off.
      
      Note that --chmod only works in index file and does not look at nor
      update the working tree.
      
      So if you are on a filesystem and do not have working executable bit,
      you would do:
      
       1. set the appropriate .git/config option;
      
       2. "git-update-index --add new-file.c"
      
       3. "git-ls-files --stage new-file.c" to see if it has the desired
         mode bits.  If not, e.g. to drop executable bit picked up from the
         filesystem, say "git-update-index --chmod=-x new-file.c".
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      3e09cdfd
    • L
      Improve config file escape sanity checking · 5cbb401d
      Linus Torvalds 提交于
      I had meant to disallow unknown escape characters in the config file
      parser, but instead an unknown escaped character would silently pass
      through as itself. That's correct for some cases (notably '\' itself), but
      wasn't correct in general.
      
      This fixes it, and makes the parser write a nice error message if the
      config file contains bogus escaped characters.
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      5cbb401d
    • J
      show-branch: optionally use unique prefix as name. · 013f276e
      Junio C Hamano 提交于
      git-show-branch acquires two new options. --sha1-name to name
      commits using the unique prefix of their object names, and
      --no-name to not to show names at all.
      
      This was outlined in <7vk6gpyuyr.fsf@assigned-by-dhcp.cox.net>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      013f276e
    • J
      Support custom build options in config.mak · f2d6a256
      Johannes Schindelin 提交于
      With this patch, it is possible to store configuration options like
      NO_CURL=YesPlease or NO_OPENSSL=YesPlease into a file named
      config.mak, which will be included in the Makefile.
      
      [jc: redone with suggestion from Daniel Barkalow to just use -include]
      Signed-off-by: NJohannes Schindelin <Johannes.Schindelin@gmx.de>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      f2d6a256
    • J
      Use git-update-ref and git-symbolic-ref in tests · 0a81552e
      Johannes Schindelin 提交于
      This makes all tests pass on cygwin.
      Signed-off-by: NJohannes Schindelin <Johannes.Schindelin@gmx.de>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      0a81552e
  2. 11 10月, 2005 21 次提交
  3. 10 10月, 2005 7 次提交
  4. 09 10月, 2005 6 次提交