1. 26 1月, 2010 8 次提交
  2. 25 1月, 2010 10 次提交
    • J
      gitweb.js: Workaround for IE8 bug · b2c2e4c2
      Jakub Narebski 提交于
      In Internet Explorer 8 (IE8) the 'blame_incremental' view, which uses
      JavaScript to generate blame info using AJAX, sometimes hang at the
      beginning (at 0%) of blaming, e.g. for larger files with long history
      like git's own gitweb/gitweb.perl.
      
      The error shown by JavaScript console is "Unspecified error" at char:2
      of the following line in gitweb/gitweb.js:
      
        if (xhr.readyState === 3 && xhr.status !== 200) {
      
      Debugging it using IE8 JScript debuger shown that the error occurs
      when trying to access xhr.status (xhr is XMLHttpRequest object).
      Watch for xhr object shows 'Unspecified error.' as "value" of
      xhr.status, and trying to access xhr.status from console throws error.
      
      This bug is some intermittent bug, depending on XMLHttpRequest timing,
      as it doesn't occur in all cases.  It is probably caused by the fact
      that handleResponse is called from timer (pollTimer), to work around
      the fact that some browsers call onreadystatechange handler only once
      for each state change, and not like required for 'blame_incremental'
      as soon as new data is available from server.  It looks like xhr
      object is not properly initialized; still it is a bug to throw an
      error when accessing xhr.status (and not use 'null' or 'undefined' as
      value).
      
      Work around this bug in IE8 by using try-catch block when accessing
      xhr.status.
      Signed-off-by: NJakub Narebski <jnareb@gmail.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      b2c2e4c2
    • J
      Merge branch 'jc/fix-tree-walk' · 026680f8
      Junio C Hamano 提交于
      * jc/fix-tree-walk:
        read-tree --debug-unpack
        unpack-trees.c: look ahead in the index
        unpack-trees.c: prepare for looking ahead in the index
        Aggressive three-way merge: fix D/F case
        traverse_trees(): handle D/F conflict case sanely
        more D/F conflict tests
        tests: move convenience regexp to match object names to test-lib.sh
      
      Conflicts:
      	builtin-read-tree.c
      	unpack-trees.c
      	unpack-trees.h
      026680f8
    • J
      Make test numbers unique · eca9388f
      Johannes Sixt 提交于
      Signed-off-by: NJohannes Sixt <j6t@kdbg.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      eca9388f
    • J
      Merge branch 'maint' · 01ddb1ff
      Junio C Hamano 提交于
      * maint:
        git-gui: work from the .git dir
        git-gui: Fix applying a line when all following lines are deletions
        git-gui: Correct file_states when unstaging partly staged entry
        git-gui: Fix gitk for branch whose name matches local file
        git-gui: Keep repo_config(gui.recentrepos) and .gitconfig in sync
        git-gui: handle really long error messages in updateindex.
        git-gui: Add hotkeys for "Unstage from commit" and "Revert changes"
        git-gui: Makefile: consolidate .FORCE-* targets
      01ddb1ff
    • J
      Merge branch 'maint' of git://git.spearce.org/git-gui into maint · b30ccd75
      Junio C Hamano 提交于
      * 'maint' of git://git.spearce.org/git-gui:
        git-gui: work from the .git dir
        git-gui: Fix applying a line when all following lines are deletions
        git-gui: Correct file_states when unstaging partly staged entry
        git-gui: Fix gitk for branch whose name matches local file
        git-gui: Keep repo_config(gui.recentrepos) and .gitconfig in sync
        git-gui: handle really long error messages in updateindex.
        git-gui: Add hotkeys for "Unstage from commit" and "Revert changes"
        git-gui: Makefile: consolidate .FORCE-* targets
      b30ccd75
    • M
      Windows: Remove dependency on pthreadGC2.dll · 767f8b31
      Michael Lukashov 提交于
      Commit 44626dc7 (MSVC: Windows-native implementation for subset
      of threads API, 2010-01-15) introduces builtin replacement of
      pthreadGC2.dll functionality, thus we can completely drop
      dependency on this dll.
      Signed-off-by: NMichael Lukashov <michael.lukashov@gmail.com>
      Acked-by: NJohannes Sixt <j6t@kdbg.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      767f8b31
    • T
      Documentation: move away misplaced 'push --upstream' description · 0ed3a111
      Thomas Rast 提交于
      e9fcd1e2 (Add push --set-upstream, 2010-01-16) inadvertently patched
      the description of --upstream in the middle of that of --repo.
      Signed-off-by: NThomas Rast <trast@student.ethz.ch>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      0ed3a111
    • T
      Documentation: add missing :: in config.txt · 88955ed2
      Thomas Rast 提交于
      bed575e4 (commit: support commit.status, --status, and --no-status,
      2009-12-07) forgot to add the :: that sets off an item from the
      paragraph that explains it, breaking the layout.
      Signed-off-by: NThomas Rast <trast@student.ethz.ch>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      88955ed2
    • J
      Merge branch 'doc-style/for-next' of git://repo.or.cz/git/trast · 77b3b796
      Junio C Hamano 提交于
      * 'doc-style/for-next' of git://repo.or.cz/git/trast:
        Documentation: merge: use MERGE_HEAD to refer to the remote branch
        Documentation: simplify How Merge Works
        Documentation: merge: add a section about fast-forward
        Documentation: emphasize when git merge terminates early
        Documentation: merge: add an overview
        Documentation: merge: move merge strategy list to end
        Documentation: suggest `reset --merge` in How Merge Works section
        Documentation: merge: move configuration section to end
        Documentation: emphasise 'git shortlog' in its synopsis
        Documentation: show-files is now called git-ls-files
        Documentation: tiny git config manual tweaks
        Documentation: git gc packs refs by default now
      
      Conflicts:
      	Documentation/config.txt
      77b3b796
    • J
      pull: re-fix command line generation · 7ecee331
      Junio C Hamano 提交于
      14e5d40c (pull: Fix parsing of -X<option>, 2010-01-17) forgot that
      merge_name needs to stay as a single non-interpolated string.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      7ecee331
  3. 24 1月, 2010 17 次提交
  4. 23 1月, 2010 5 次提交