1. 24 11月, 2009 8 次提交
    • J
      Merge branch 'mr/gitweb-snapshot' · 2a971012
      Junio C Hamano 提交于
      * mr/gitweb-snapshot:
        t/gitweb-lib: Split HTTP response with non-GNU sed
        gitweb: Smarter snapshot names
        gitweb: Document current snapshot rules via new tests
        t/gitweb-lib.sh: Split gitweb output into headers and body
        gitweb: check given hash before trying to create snapshot
      2a971012
    • B
      t/gitweb-lib: Split HTTP response with non-GNU sed · f74a83fc
      Brian Gernhardt 提交于
      Recognizing \r in a regex is something GNU sed will do, but other sed
      implementation's won't (e.g. BSD sed on OS X).  Instead of two sed
      invocations, use a single Perl script to split output into headers
      and body.
      Signed-off-by: NBrian Gernhardt <brian@gernhardtsoftware.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      f74a83fc
    • J
      Merge branch 'cc/replace' · 783cfafb
      Junio C Hamano 提交于
      * cc/replace:
        Documentation: talk a little bit about GIT_NO_REPLACE_OBJECTS
        Documentation: fix typos and spelling in replace documentation
        replace: use a GIT_NO_REPLACE_OBJECTS env variable
      783cfafb
    • J
      Merge branch 'maint' · 75a7ea25
      Junio C Hamano 提交于
      * maint:
        pack-objects: split implications of --all-progress from progress activation
        instaweb: restart server if already running
        prune-packed: only show progress when stderr is a tty
      
      Conflicts:
      	builtin-pack-objects.c
      75a7ea25
    • N
      pack-objects: split implications of --all-progress from progress activation · 4f366275
      Nicolas Pitre 提交于
      Currently the --all-progress flag is used to use force progress display
      during the writing object phase even if output goes to stdout which is
      primarily the case during a push operation.  This has the unfortunate
      side effect of forcing progress display even if stderr is not a
      terminal.
      
      Let's introduce the --all-progress-implied argument which has the same
      intent except for actually forcing the activation of any progress
      display.  With this, progress display will be automatically inhibited
      whenever stderr is not a terminal, or full progress display will be
      included otherwise.  This should let people use 'git push' within a cron
      job without filling their logs with useless percentage displays.
      Signed-off-by: NNicolas Pitre <nico@fluxnic.net>
      Tested-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      4f366275
    • S
      instaweb: restart server if already running · 0b624b4c
      Stephen Boyd 提交于
      Running 'git instaweb' when an instaweb server is already running will
      fail (at least when the port is the same) and overwrite the pid file
      used to track the currently running server. This turns out to be
      especially annoying when the user tries to stop the previously running
      server with 'git instaweb --stop' and is instead greeted with an error
      message because the pid file has been destroyed.
      
      Instead of allowing a user to start two instaweb servers, stop the
      currently running server first and then start the new one. This should
      be fine because it was never really possible to start two instaweb
      servers in the first place due to the pid file issue outlined above.
      Signed-off-by: NStephen Boyd <bebarino@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      0b624b4c
    • J
      prune-packed: only show progress when stderr is a tty · 1ddf5efc
      Jeff King 提交于
      This matches the behavior of other git programs, and helps
      keep cruft out of things like cron job output.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      1ddf5efc
    • T
      remote-curl.c: fix rpc_out() · 48310608
      Tay Ray Chuan 提交于
      Remove the extraneous semicolon (';') at the end of the if statement
      that allowed the code in its block to execute regardless of the
      condition.
      
      This fixes pushing to a smart http backend with chunked encoding.
      Signed-off-by: NTay Ray Chuan <rctay89@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      48310608
  2. 23 11月, 2009 28 次提交
  3. 21 11月, 2009 4 次提交
    • J
      Documentation: avoid xmlto input error · 0f7fb21a
      Junio C Hamano 提交于
      Do not write literal "~/" or "~user" but use "{tilde}/" and "{tilde}user";
      otherwise the text between them gets enclosed in
      "<subscript>...</subscript>".
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      0f7fb21a
    • J
      Merge branch 'jc/fix-tree-walk' (early part) · 39add7a3
      Junio C Hamano 提交于
      * 'jc/fix-tree-walk' (early part):
        unpack_callback(): use unpack_failed() consistently
        unpack-trees: typofix
        diff-lib.c: fix misleading comments on oneway_diff()
      39add7a3
    • J
      Merge branch 'jh/notes' (early part) · 885d492f
      Junio C Hamano 提交于
      * 'jh/notes' (early part):
        Add selftests verifying concatenation of multiple notes for the same commit
        Refactor notes code to concatenate multiple notes annotating the same object
        Add selftests verifying that we can parse notes trees with various fanouts
        Teach the notes lookup code to parse notes trees with various fanout schemes
        Teach notes code to free its internal data structures on request
        Add '%N'-format for pretty-printing commit notes
        Add flags to get_commit_notes() to control the format of the note string
        t3302-notes-index-expensive: Speed up create_repo()
        fast-import: Add support for importing commit notes
        Teach "-m <msg>" and "-F <file>" to "git notes edit"
        Add an expensive test for git-notes
        Speed up git notes lookup
        Add a script to edit/inspect notes
        Introduce commit notes
      
      Conflicts:
      	.gitignore
      	Documentation/pretty-formats.txt
      	pretty.c
      885d492f
    • J
      Merge branch 'sp/smart-http' · 905bf774
      Junio C Hamano 提交于
      * sp/smart-http: (37 commits)
        http-backend: Let gcc check the format of more printf-type functions.
        http-backend: Fix access beyond end of string.
        http-backend: Fix bad treatment of uintmax_t in Content-Length
        t5551-http-fetch: Work around broken Accept header in libcurl
        t5551-http-fetch: Work around some libcurl versions
        http-backend: Protect GIT_PROJECT_ROOT from /../ requests
        Git-aware CGI to provide dumb HTTP transport
        http-backend: Test configuration options
        http-backend: Use http.getanyfile to disable dumb HTTP serving
        test smart http fetch and push
        http tests: use /dumb/ URL prefix
        set httpd port before sourcing lib-httpd
        t5540-http-push: remove redundant fetches
        Smart HTTP fetch: gzip requests
        Smart fetch over HTTP: client side
        Smart push over HTTP: client side
        Discover refs via smart HTTP server when available
        http-backend: more explict LocationMatch
        http-backend: add example for gitweb on same URL
        http-backend: use mod_alias instead of mod_rewrite
        ...
      
      Conflicts:
      	.gitignore
      	remote-curl.c
      905bf774