1. 22 Oct, 2008 2 commits
  2. 21 Oct, 2008 9 commits
  3. 20 Oct, 2008 2 commits
    • Paul Mackerras's avatar
      gitk: Turn short SHA1 names into links too · d375ef9b
      Paul Mackerras authored
      This changes the link detection logic to accept strings of between 6
      and 40 hex characters as a possible SHA1 ID of another commit, rather
      than insisting on seeing the full 40 hex characters.
      
      To make the logic that turns a possible link into an actual link work
      with abbreviated IDs, this changes the way the commitinterest array is
      used, and puts the code that deals with it in a pair of new functions.
      The commitinterest array is now indexed by just the first 4 characters
      of the interesting SHA1 ID, and each element is a list of id + command
      pairs.  This also pulls out the logic for expanding an abbreviated
      SHA1 to the list of matching full IDs into its own function (the way
      it is done is still the same slow way it was done before, which should
      be improved some day).
      
      This also fixes the bug where clicking on a link would take you to the
      wrong commit if the line number of the target had changed since the
      link was made.
      
      This is based on a patch by Linus Torvalds, but totally rewritten by me.
      Signed-off-by: default avatarPaul Mackerras <[email protected]>
      d375ef9b
    • Junio C Hamano's avatar
      Fix testcase failure when extended attributes are in use · 5610e3b0
      Junio C Hamano authored
      06cbe855 (Make core.sharedRepository more generic, 2008-04-16) made
      several testcases in t1301-shared-repo.sh which fail if on a system
      which creates files with extended attributes (e.g. SELinux), since ls
      appends a '+' sign to the permission set in such cases.  In fact,
      POSIX.1 allows ls to add a single printable character after the usual
      3x3 permission bits to show that an optional alternate/additional access
      method is associated with the path.
      
      This fixes the testcase to strip any such sign prior to verifying the
      permission set.
      Signed-off-by: default avatarJunio C Hamano <[email protected]>
      Tested-by: default avatarDeskin Miller <[email protected]>
      5610e3b0
  4. 19 Oct, 2008 18 commits
  5. 18 Oct, 2008 9 commits