Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jan 11, 2009
  1. @aspotashev @gitster

    Allow cloning to an existing empty directory

    aspotashev authored gitster committed
    The die() message updated accordingly.
    
    The previous behaviour was to only allow cloning when the destination
    directory doesn't exist.
    
    [jc: added trivial tests]
    
    Signed-off-by: Alexander Potashev <aspotashev@gmail.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
  2. @aspotashev @gitster

    add is_dot_or_dotdot inline function

    aspotashev authored gitster committed
    A new inline function is_dot_or_dotdot is used to check if the
    directory name is either "." or "..". It returns a non-zero value if
    the given string is "." or "..". It's applicable to a lot of Git
    source code.
    
    Signed-off-by: Alexander Potashev <aspotashev@gmail.com>
    Signed-off-by: Junio C Hamano <gitster@pobox.com>
Something went wrong with that request. Please try again.