summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/alpm_list.c
diff options
context:
space:
mode:
authorMohammad Alsaleh <msal@i2pmail.org>2012-08-12 00:24:43 +0000
committerDan McGee <dan@archlinux.org>2012-09-18 08:39:08 -0500
commit34b52c9a60e43d84a8ea3930a19f8cbfa5815931 (patch)
treecdde6b294e09cfa94a58363c6e3e098d68b6e1ba /lib/libalpm/alpm_list.c
parent8f5ee729747937f52c2cc199a7498629ab6c9a7d (diff)
downloadpacman-34b52c9a60e43d84a8ea3930a19f8cbfa5815931.tar.xz
makepkg: git clone instead of git fetch if $dir exists but empty
Before this patch, makepkg would only check if $dir exists as an indication that a local clone exists. And if $dir does exist, makepkg will run git fetch inside it unconditionally. After applying this patch, makepkg will check if the existent $dir is empty. And if it is, it will be used to store a local clone. Signed-off-by: Mohammad Alsaleh <msal@i2pmail.org>
Diffstat (limited to 'lib/libalpm/alpm_list.c')
0 files changed, 0 insertions, 0 deletions