From patchwork Thu Jul 2 08:13:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Wijen X-Patchwork-Id: 11638079 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 651F6739 for ; Thu, 2 Jul 2020 08:13:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 55A3A20720 for ; Thu, 2 Jul 2020 08:13:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728188AbgGBINs (ORCPT ); Thu, 2 Jul 2020 04:13:48 -0400 Received: from smtp01.domein-it.com ([92.48.232.134]:41899 "EHLO smtp01.domein-it.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725379AbgGBINr (ORCPT ); Thu, 2 Jul 2020 04:13:47 -0400 Received: by smtp01.domein-it.com (Postfix, from userid 1000) id 8E60B8086996; Thu, 2 Jul 2020 10:13:42 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on smtp01.domein-it.com X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_NONE autolearn=no autolearn_force=no version=3.4.0 Received: from ferret.domein-it.nl (ferret.domein-it.nl [84.244.139.72]) by smtp01.domein-it.com (Postfix) with ESMTP id 4B7488086983; Thu, 2 Jul 2020 10:13:41 +0200 (CEST) Received: from 80-112-22-40.cable.dynamic.v4.ziggo.nl ([80.112.22.40]:51758 helo=ben.dynamic.ziggo.nl) by ferret.domein-it.nl with esmtpa (Exim 4.93) (envelope-from ) id 1jquLh-0000G0-7Y; Thu, 02 Jul 2020 10:13:37 +0200 From: Ben Wijen To: Eric Sunshine Cc: Git List , Ben Wijen Subject: [PATCH v2 0/1] git clone: don't clone into non-empty directory Date: Thu, 2 Jul 2020 10:13:34 +0200 Message-Id: <20200702081335.16786-1-ben@wijen.net> X-Mailer: git-send-email 2.27.0 In-Reply-To: References: MIME-Version: 1.0 X-Domein-IT-MailScanner-Information: Please contact the ISP for more information X-Domein-IT-MailScanner-ID: 1jquLh-0000G0-7Y X-Domein-IT-MailScanner: Not scanned: please contact your Internet E-Mail Service Provider for details X-Domein-IT-MailScanner-SpamCheck: X-Domein-IT-MailScanner-From: ben@wijen.net Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Eric, thank you for your review. With this update I have: * rebased (and squashed) on master * included your proposals for the test * changed "destination path..." to "repository path..." Ben... Ben Wijen (1): git clone: don't clone into non-empty directory builtin/clone.c | 12 ++++++++++-- t/t5601-clone.sh | 4 +++- 2 files changed, 13 insertions(+), 3 deletions(-)