1. 08 1月, 2007 4 次提交
  2. 07 1月, 2007 24 次提交
  3. 06 1月, 2007 2 次提交
  4. 05 1月, 2007 10 次提交
    • J
      git-remote · e194cd1e
      Junio C Hamano 提交于
      It might be handy to have a single command that helps you manage
      your configuration that relates to downloading from remote
      repositories.  This currently does only about 20% of what I want
      it to do.
      
      	$ git remote
      
      shows the list of 'remotes' you have defined somewhere, and
      
      	$ git remote origin
      
      shows the details about the named remote (in this case
      "origin").  How the branches are tracked, if you have a
      tracking branch that is stale, etc.
      
      	$ git add another git://git.kernel.org/pub/...
      
      defines the default remote.another.url and remote.another.fetch
      entries just like a clone does; you can say "git fetch another"
      afterwards.
      
      For it to be useful, I think it should be enhanced to:
      
       - check overlaps of tracking branches and warn;
      
       - offer to remove stale tracking branches in one go;
      
       - offer ways to remove or rename remote;
      
       - offer ways to update an existing remote, perhaps have an
         interactive mode;
      
      Other enhancements might be also possible, but I do not think of
      anything that is absolutely necessary other than the above right
      now.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      e194cd1e
    • L
      Blame "linenr" link jumps to previous state at "orig_lineno" · 244a70e6
      Luben Tuikov 提交于
      Blame currently displays the commit id which introduced a
      block of one or more lines, the line numbers wrt the current
      listing of the file and the file's line contents.
      
      The commit id displayed is hyperlinked to the commit.
      
      Currently the linenr links are hyperlinked to the same
      commit id displayed to the left, which is _no_ different
      than the block of lines displayed, since it is the _same
      commit_ that is hyperlinked.  And thus clicking on it leads
      to the same state of the file for that chunk of
      lines. I.e. data mining is not currently possible with
      gitweb given a chunk of lines introduced by a commit.
      
      This patch makes such data mining possible.
      
      The line numbers are now hyperlinked to the parent of the
      commit id of the block of lines.  Furthermore they are
      linked to the line where that block was introduced.
      
      Thus clicking on a linenr link will show you the file's
      line(s) state prior to the commit id you were viewing.
      
      So clicking continually on a linenr link shows you how this
      line and its line number changed over time, leading to the
      initial commit where it was first introduced.
      Signed-off-by: NLuben Tuikov <ltuikov@yahoo.com>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      244a70e6
    • J
      gitweb: Fix "Use of uninitialized value" warning in git_tags_body · 27dd1a83
      Jakub Narebski 提交于
      Fix "Use of uninitialized value" warning in git_tags_body generated
      for lightweight tags of tree and blob object; those don't have age
      ($tag{'age'}) defined.
      Signed-off-by: NJakub Narebski <jnareb@gmail.com>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      27dd1a83
    • E
      git-svn: make --repack work consistently between fetch and multi-fetch · 2a3240be
      Eric Wong 提交于
      Since fetch reforks itself at most every 1000 revisions, we
      need to update the counter in the parent process to have a
      working count if we set our repack interval to be > ~1000
      revisions.  multi-fetch has always done this correctly
      because of an extra process; now fetch uses the extra process;
      as well.
      
      While we're at it, only compile the $sha1 regex that checks for
      repacking once.
      Signed-off-by: NEric Wong <normalperson@yhbt.net>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      2a3240be
    • E
      git-svn: update documentation for multi-{init|fetch} · 0d313b2b
      Eric Wong 提交于
      Signed-off-by: NEric Wong <normalperson@yhbt.net>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      0d313b2b
    • E
      git-svn: make multi-init less confusing · 98327e58
      Eric Wong 提交于
      It now requires at least one of the (trunk|branch|tags) arguments
      (either from the command-line or in .git/config).  Also we make
      sure that anything that is passed as a URL ('help') in David's
      case is actually a URL.
      
      Thanks to David Kågedal for reporting this issue.
      Signed-off-by: NEric Wong <normalperson@yhbt.net>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      98327e58
    • R
      Remove shadowing variable from traverse_trees() · 4fe2cc0c
      René Scharfe 提交于
      The variable named entry is allocated using malloc() and then
      forgotten, it being shadowed by an automatic variable of the
      same name.  Fixing the array size at 3 worked so far because
      the only caller of traverse_trees() needed only as much
      entries.  Simply remove the shadowing varaible and we're able
      to traverse more than three trees and save stack space at the
      same time!
      Signed-off-by: NRene Scharfe <rene.scharfe@lsrfire.ath.cx>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      4fe2cc0c
    • R
      Make check target depend on common-cmds.h · 7c4c9f4c
      René Scharfe 提交于
      This fixes sparse complaining about a missing include file
      if 'make check' is run on clean sources.
      Signed-off-by: NRene Scharfe <rene.scharfe@lsrfire.ath.cx>
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      7c4c9f4c
    • J
      rerere: Fix removal of already resolved path. · 3a2d3e86
      Junio C Hamano 提交于
      There was an obvious thinko in memmove() to remove an entry that
      was resolved from the in-core data structure.
      Signed-off-by: NJunio C Hamano <junkio@cox.net>
      3a2d3e86
    • J
      Merge branch 'maint' · e27e609b
      Junio C Hamano 提交于
      * maint:
        pack-check.c::verify_packfile(): don't run SHA-1 update on huge data
        Fix infinite loop when deleting multiple packed refs.
      e27e609b