1. 16 7月, 2013 1 次提交
  2. 02 2月, 2013 1 次提交
    • J
      Merge branch 'nd/fetch-depth-is-broken' · 2532d891
      Junio C Hamano 提交于
      "git fetch --depth" was broken in at least three ways.  The
      resulting history was deeper than specified by one commit, it was
      unclear how to wipe the shallowness of the repository with the
      command, and documentation was misleading.
      
      * nd/fetch-depth-is-broken:
        fetch: elaborate --depth action
        upload-pack: fix off-by-one depth calculation in shallow clone
        fetch: add --unshallow for turning shallow repo into complete one
      2532d891
  3. 31 1月, 2013 4 次提交
    • J
      Merge git://ozlabs.org/~paulus/gitk · 9a6c84e6
      Junio C Hamano 提交于
      * git://ozlabs.org/~paulus/gitk:
        gitk: Ignore gitk-wish buildproduct
      9a6c84e6
    • J
      Merge branch 'rr/minimal-stat' · 070c57df
      Junio C Hamano 提交于
      Some reimplementations of Git does not write all the stat info back
      to the index due to their implementation limitations (e.g. jgit
      running on Java).  A configuration option can tell Git to ignore
      changes to most of the stat fields and only pay attention to mtime
      and size, which these implementations can reliably update.  This
      avoids excessive revalidation of contents.
      
      * rr/minimal-stat:
        Enable minimal stat checking
      070c57df
    • J
      Merge branch 'nd/magic-pathspec-from-root' · 7b519690
      Junio C Hamano 提交于
      When giving arguments without "--" disambiguation, object names
      that come  earlier on the command line must not be interpretable as
      pathspecs and pathspecs that come later on the command line must
      not be interpretable as object names.  Tweak the disambiguation
      rule so that ":/" (no other string before or after) is always
      interpreted as a pathspec, to avoid having to say "git cmd -- :/".
      
      * nd/magic-pathspec-from-root:
        grep: avoid accepting ambiguous revision
        Update :/abc ambiguity check
      7b519690
    • J
      Merge branch 'maint' · b596574e
      Junio C Hamano 提交于
      * maint:
        README: update stale and/or incorrect information
      b596574e
  4. 30 1月, 2013 5 次提交
    • J
      Merge branch 'tb/t0050-maint' into maint · e1b6ff44
      Junio C Hamano 提交于
      Update tests that were expecting to fail due to a bug that was
      fixed earlier.
      
      * tb/t0050-maint:
        t0050: Use TAB for indentation
        t0050: honor CASE_INSENSITIVE_FS in add (with different case)
        t0050: known breakage vanished in merge (case change)
      e1b6ff44
    • C
      gitk: Ignore gitk-wish buildproduct · a8b38d95
      Christian Couder 提交于
      gitk, when bound into the git.git project tree, used to live at the
      root level, but in 62ba5143 (Move gitk to its own subdirectory,
      2007-11-17) it was moved to a subdirectory.  The code used to track
      changes to TCLTK_PATH (which should cause gitk to be rebuilt to
      point at the new interpreter) was left in the main Makefile instead
      of being moved to the new Makefile that was created for the gitk
      project.
      
      Also add .gitignore file to list build artifacts for the gitk
      project.
      Signed-off-by: NChristian Couder <chriscool@tuxfamily.org>
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      a8b38d95
    • J
      Merge branch 'nd/fix-directory-attrs-off-by-one' into maint · 025ea586
      Junio C Hamano 提交于
      The attribute mechanism didn't allow limiting attributes to be
      applied to only a single directory itself with "path/" like the
      exclude mechanism does.  The initial implementation of this that was
      merged to 'maint' and 1.8.1.1 had severe performance degradations.
      
      * nd/fix-directory-attrs-off-by-one:
        attr: avoid calling find_basename() twice per path
        attr: fix off-by-one directory component length calculation
      025ea586
    • J
      Merge branch 'ph/rebase-preserve-all-merges' into maint · da2987d4
      Junio C Hamano 提交于
      "git rebase --preserve-merges" lost empty merges in recent versions
      of Git.
      
      * ph/rebase-preserve-all-merges:
        rebase --preserve-merges: keep all merge commits including empty ones
      da2987d4
    • J
      README: update stale and/or incorrect information · 33b29fd1
      Junio C Hamano 提交于
      Ramkumar Ramachandra noticed that the old address for the marc
      archive no longer works.  Update it to its marc.info address,
      and also refer to the gmane site.
      
      Remove the reference to "note from the maintainer", which is not
      usually followed by any useful discussion on status, direction nor
      tasks.
      
      Also replace the reference to "What's in git.git" with "What's
      cooking".
      Signed-off-by: NJunio C Hamano <gitster@pobox.com>
      33b29fd1
  5. 29 1月, 2013 16 次提交
  6. 26 1月, 2013 5 次提交
  7. 24 1月, 2013 8 次提交
    • B
      git-svn: Simplify calculation of GIT_DIR · bc93ceb7
      Barry Wardell 提交于
      Since git-rev-parse already checks for the $GIT_DIR environment
      variable and that it returns an actual git repository, there is no
      need to repeat the checks again here.
      
      This also fixes a problem where git-svn did not work in cases where
      .git was a file with a gitdir: link.
      
      [ew: squashed test case,
       delay setting GIT_DIR until after `git rev-parse --cdup` to fix t9101,
       (thanks to Junio)]
      Signed-off-by: NBarry Wardell <barry.wardell@gmail.com>
      Signed-off-by: NEric Wong <normalperson@yhbt.net>
      bc93ceb7
    • E
      git-svn: cleanup sprintf usage for uppercasing hex · 1b67bef2
      Eric Wong 提交于
      We do not need to call uc() separately for sprintf("%x")
      as sprintf("%X") is available.
      Signed-off-by: NEric Wong <normalperson@yhbt.net>
      Reviewed-by: NJonathan Nieder <jrnieder@gmail.com>
      1b67bef2
    • J
      Merge branch 'as/pre-push-hook' · bb9a6969
      Junio C Hamano 提交于
      Add an extra hook so that "git push" that is run without making
      sure what is being pushed is sane can be checked and rejected (as
      opposed to the user deciding not pushing).
      
      * as/pre-push-hook:
        Add sample pre-push hook script
        push: Add support for pre-push hooks
        hooks: Add function to check if a hook exists
      bb9a6969
    • J
      Merge branch 'ch/add-auto-submitted-in-sample-post-receive-email' · 86db7464
      Junio C Hamano 提交于
      * ch/add-auto-submitted-in-sample-post-receive-email:
        Add Auto-Submitted header to post-receive-email
      86db7464
    • J
      Merge branch 'as/check-ignore' · a39b15b4
      Junio C Hamano 提交于
      Add a new command "git check-ignore" for debugging .gitignore
      files.
      
      The variable names may want to get cleaned up but that can be done
      in-tree.
      
      * as/check-ignore:
        clean.c, ls-files.c: respect encapsulation of exclude_list_groups
        t0008: avoid brace expansion
        add git-check-ignore sub-command
        setup.c: document get_pathspec()
        add.c: extract new die_if_path_beyond_symlink() for reuse
        add.c: extract check_path_for_gitlink() from treat_gitlinks() for reuse
        pathspec.c: rename newly public functions for clarity
        add.c: move pathspec matchers into new pathspec.c for reuse
        add.c: remove unused argument from validate_pathspec()
        dir.c: improve docs for match_pathspec() and match_pathspec_depth()
        dir.c: provide clear_directory() for reclaiming dir_struct memory
        dir.c: keep track of where patterns came from
        dir.c: use a single struct exclude_list per source of excludes
      
      Conflicts:
      	builtin/ls-files.c
      	dir.c
      a39b15b4
    • J
      Merge branch 'rs/clarify-entry-cmp-sslice' · f12e49ae
      Junio C Hamano 提交于
      * rs/clarify-entry-cmp-sslice:
        refs: use strncmp() instead of strlen() and memcmp()
      f12e49ae
    • J
      Merge branch 'jk/suppress-clang-warning' · fa2f83c6
      Junio C Hamano 提交于
      * jk/suppress-clang-warning:
        fix clang -Wunused-value warnings for error functions
      fa2f83c6
    • J
      Merge branch 'cr/push-force-tag-update' · d82dd269
      Junio C Hamano 提交于
      Regression fix to stop "git push" complaining "target ref already
      exists", when it is not the real reason the command rejected the
      request (e.g. non-fast-forward).
      
      * cr/push-force-tag-update:
        push: fix "refs/tags/ hierarchy cannot be updated without --force"
      d82dd269