Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jul 11, 2007
  1. dscho Junio C Hamano

    Add for_each_remote() function, and extend remote_find_tracking()

    dscho authored gitster committed
    The function for_each_remote() does exactly what the name
    suggests.
    
    The function remote_find_tracking() was extended to be able to
    search remote refs for a given local ref.  The caller sets
    either src or dst (but not both) in the refspec parameter, and
    remote_find_tracking() will fill in the other and return 0.
    
    Both changes are required for the next step: simplification of
    git-branch's --track functionality.
    
    Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on Jul 10, 2007
  1. Junio C Hamano

    Add allocation and freeing functions for struct refs

    Daniel Barkalow authored gitster committed
    Instead of open-coding allocation wherever it happens, have a function.
    Also, add a function to free a list of refs, which we currently never
    actually do.
    
    Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Commits on May 21, 2007
  1. Add handlers for fetch-side configuration of remotes.

    Daniel Barkalow authored Junio C Hamano committed
    These follow the pattern of the push side configuration, but aren't
    taken from anywhere else, because git-fetch is still in shell.
    
    Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
  2. Move refspec parser from connect.c and cache.h to remote.{c,h}

    Daniel Barkalow authored Junio C Hamano committed
    Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
  3. Move remote parsing into a library file out of builtin-push.

    Daniel Barkalow authored Junio C Hamano committed
    The new parser is different from the one in builtin-push in two ways:
    the default is to use the current branch's remote, if there is one,
    before "origin"; and config is used in preference to remotes.
    
    Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
    Signed-off-by: Junio C Hamano <junkio@cox.net>
Something went wrong with that request. Please try again.