1. 11 12月, 2009 5 次提交
  2. 10 12月, 2009 4 次提交
    • J
      Git 1.6.6-rc2 · 80d93611
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      80d93611
    • J
      Merge git://repo.or.cz/git-gui · 529f8c6e
      Junio C Hamano 提交于
      * git://repo.or.cz/git-gui:
        git-gui: suppress RenderBadPicture X error caused by Tk bug
        git-gui: Increase blame viewer usability on MacOS.
        git-gui: search 4 directories to improve statistic of gc hint
        git gui: make current branch default in "remote delete branch" merge check
      529f8c6e
    • J
      Merge git://git.kernel.org/pub/scm/gitk/gitk · 47344eee
      Junio C Hamano 提交于
      * git://git.kernel.org/pub/scm/gitk/gitk:
        gitk: Fix selection of tags
        gitk: Default to the system colours on Windows
        gitk: Update Japanese translation
        gitk: Fix "git gui blame" invocation when called from top-level directory
        gitk: Disable checkout of remote branches
        gitk: Improve appearance of radiobuttons and checkbuttons
        gitk: Skip translation of "wrong Tcl version" message
        gitk: Add Japanese translation
        gitk: Use the --submodule option for displaying diffs when available
        gitk: Fix diffing committed -> staged (typo in diffcmd)
        gitk: Add configuration for UI colour scheme
        gitk: Don't compare fake children when comparing commits
        gitk: Show diff of commits at end of compare-commits output
        gitk: Add a user preference to enable/disable use of themed widgets
        gitk: Fix errors in the theme patch
        gitk: Use themed tk widgets
        gitk: Restore scrolling position of diff pane on back/forward in history
      47344eee
    • J
      Update draft release notes to 1.6.6 before -rc2 · 8eb65d96
      Junio C Hamano 提交于
      Reword the 1.7.0 warnings, and drop deprecation of "merge <msg> HEAD <commit>..."
      syntax.
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      8eb65d96
  3. 09 12月, 2009 8 次提交
  4. 08 12月, 2009 4 次提交
    • J
      add-interactive: fix deletion of non-empty files · 8947fdd5
      Jeff King 提交于
      Commit 24ab81ae fixed the deletion of empty files, but broke
      deletion of non-empty files. The approach it took was to
      factor out the "deleted" line from the patch header into its
      own hunk, the same way we do for mode changes. However,
      unlike mode changes, we only showed the special "delete this
      file" hunk if there were no other hunks. Otherwise, the user
      would annoyingly be presented with _two_ hunks: one for
      deleting the file and one for deleting the content.
      
      This meant that in the non-empty case, we forgot about the
      deleted line entirely, and we submitted a bogus patch to
      git-apply (with "/dev/null" as the destination file, but not
      marked as a deletion).
      
      Instead, this patch combines the file deletion hunk and the
      content deletion hunk (if there is one) into a single
      deletion hunk which is either staged or not.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      8947fdd5
    • E
      git svn: log removals of empty directories · f9ad77a7
      Eric Wong 提交于
      This also adds a test case for:
        "git svn: Don't create empty directories whose parents were deleted"
      which was the reason we found this bug in the first place.
      Signed-off-by: NEric Wong <normalperson@yhbt.net>
      f9ad77a7
    • G
      git svn: Don't create empty directories whose parents were deleted · 33f2a310
      Greg Price 提交于
      Commit 6111b934 "git svn: attempt to create empty dirs on clone+rebase"
      will create empty directories 'a/b' and 'a/c' if they were previously
      created in SVN, even if their parent directory 'a' was deleted.
      
      For example, unhandled.log may contain lines like this:
      
      r32
        +empty_dir: packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/files/etc/remctl/sipb-xen-auto/acl
        +empty_dir: packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/files/etc/remctl/sipb-xen-auto/machine.d
        +empty_dir: packages/sipb-xen-remctl-auto/sipb-xen-remctl-auto/files/etc/remctl/sipb-xen-auto/moira-acl
      [...]
      r314
        -empty_dir: packages/sipb-xen-remctl-auto
      
      [ew: rewrote to be line-wrapped at <= 80-columns]
      Reported-by: NEvan Broder <broder@mit.edu>
      Signed-off-by: NGreg Price <price@ksplice.com>
      Acked-by: NEric Wong <normalperson@yhbt.net>
      33f2a310
    • A
      git-svn: sort svk merge tickets to account for minimal parents · e9e4c8b7
      Alex Vandiver 提交于
      When merging branches based on svk:merge properties, a single merge
      can have updated or added multiple svk:merge lines.  Attempt to
      include the minimal set of parents by sorting the merge properties in
      order of revision, highest to lowest.
      Signed-off-by: NAlex Vandiver <alex@chmrr.net>
      Acked-by: NSam Vilain <sam@vilain.net>
      Acked-by: NEric Wong <normalperson@yhbt.net>
      e9e4c8b7
  5. 07 12月, 2009 1 次提交
  6. 06 12月, 2009 9 次提交
    • S
      bash: update 'git commit' completion · 9a424b27
      SZEDER Gábor 提交于
      I just wanted to add the recently learnt '--reset-author' option, but
      then noticed that there are many more options missing.  This patch
      adds support for all of 'git commit's options, except '--allow-empty',
      because it is primarily there for foreign scm interfaces.
      
      Furthermore, this patch also adds support for completing the arguments
      of those options that take a non-filename argument: valid modes are
      offered for '--cleanup' and '--untracked-files', while refs for
      '--reuse-message' and '--reedit-message', because these two take a
      commit as argument.
      Signed-off-by: NSZEDER Gábor <szeder@ira.uka.de>
      Acked-by: NShawn O. Pearce <spearce@spearce.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      9a424b27
    • A
      git-gui: Increase blame viewer usability on MacOS. · 10852086
      Alexander Gavrilov 提交于
      On MacOS raising a window causes the focus to be transferred
      to it -- although it may actually be a bug in the Tcl/Tk port.
      When this happens with the blame viewer tooltips, it makes
      the interface less usable, because Entry and Leave handlers
      on the text view cause the tip to disappear once the mouse
      is moved even 1 pixel.
      
      This commit makes the code raise the main window on MacOS
      when Tk 8.5 is used. This version seems to properly support
      wm transient by making the tip stay on top of the master,
      so reraising the master does not cause it to disappear. Thus
      the only remaining sign of problems is slight UI flicker
      when focus is momentarily transferred to the tip and back.
      Signed-off-by: NAlexander Gavrilov <angavrilov@gmail.com>
      Signed-off-by: NShawn O. Pearce <spearce@spearce.org>
      10852086
    • C
      git-gui: search 4 directories to improve statistic of gc hint · 88520cad
      Clemens Buchacher 提交于
      On Windows, git-gui suggests running the garbage collector if it finds
      1 or more files in .git/objects/42 (as opposed to 8 files on other
      platforms). The probability of that happening if the repo contains
      about 100 loose objects is 32%. The probability for the same to happen
      when searching 4 directories is only 8%, which is bit more reasonable.
      
      Also remove $objects_limit from the message, because we already know
      that we are above (or close to) that limit. Telling the user about
      that number does not really give him any useful information.
      
      The following octave script shows the probability for at least m*q
      objects to be found in q subdirectories of .git/objects if n is the
      total number of objects.
      
      q = 4;
      m = [1 2 8];
      n = 0:10:2000;
      
      P = zeros(length(n), length(m));
      for k = 1:length(n)
              P(k, :) = 1-binocdf(q*m-1, n(k), q/(256-q));
      end
      plot(n, P);
      
      n \ q   1       4
      50      18%     1%
      100     32%     8%
      200     54%     39%
      500     86%     96%
      Signed-off-by: NClemens Buchacher <drizzd@aon.at>
      Signed-off-by: NShawn O. Pearce <spearce@spearce.org>
      88520cad
    • H
      git gui: make current branch default in "remote delete branch" merge check · c0d15329
      Heiko Voigt 提交于
      We already do the same when locally deleting a branch.
      Signed-off-by: NHeiko Voigt <hvoigt@hvoigt.net>
      Signed-off-by: NShawn O. Pearce <spearce@spearce.org>
      c0d15329
    • J
      Sync with 1.6.5.5 · 3880c183
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      3880c183
    • J
      Git 1.6.5.5 · aa031314
      Junio C Hamano 提交于
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      aa031314
    • L
      Fix diff -B/--dirstat miscounting of newly added contents · 77cd6ab6
      Linus Torvalds 提交于
      What used to happen is that diffcore_count_changes() simply ignored any
      hashes in the destination that didn't match hashes in the source. EXCEPT
      if the source hash didn't exist at all, in which case it would count _one_
      destination hash that happened to have the "next" hash value.  As a
      consequence, newly added material was often undercounted, making output
      from --dirstat and "complete rewrite" detection used by -B unrelialble.
      
      This changes it so that:
      
       - whenever it bypasses a destination hash (because it doesn't match a
         source), it counts the bytes associated with that as "literal added"
      
       - at the end (once we have used up all the source hashes), we do the same
         thing with the remaining destination hashes.
      
       - when hashes do match, and we use the difference in counts as a value,
         we also use up that destination hash entry (the 'd++').
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      77cd6ab6
    • J
      reset: improve worktree safety valves · 952dfc69
      Jeff King 提交于
      The existing code checked to make sure we were not in a bare
      repository when doing a hard reset. However, we should take
      this one step further, and make sure we are in a worktree.
      Otherwise, we can end up munging files inside of '.git'.
      
      Furthermore, we should do the same check for --merge resets,
      which have the same properties. Actually, a merge reset of
      HEAD^ would already complain, since further down in the code
      we want a worktree. However, it is nicer to check up-front;
      then we are sure we cover all cases ("git reset --merge"
      would run, even though it wasn't doing anything) and we can
      give a more specific message.
      
      Add tests to t7103 to cover these cases and some missing ones.
      Signed-off-by: NJeff King <peff@peff.net>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      952dfc69
    • T
      Documentation: Avoid use of xmlto --stringparam · 50d9bbba
      Todd Zullinger 提交于
      The --stringparam option is not available on older xmlto versions.
      Instead, set man.base.url.for.relative.links via a .xsl file.  Older
      docbook versions will ignore this without causing grief to users of
      older xmlto versions.
      Signed-off-by: NTodd Zullinger <tmz@pobox.com>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      50d9bbba
  7. 05 12月, 2009 2 次提交
  8. 04 12月, 2009 7 次提交