From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Heitzmann?= Subject: [PATCH] git svn : hook before 'git svn dcommit' Date: Sun, 3 Jul 2011 22:49:14 +0200 Message-ID: <1309726156-31156-1-git-send-email-frederic.heitzmann@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit To: Matthieu.Moy@grenoble-inp.fr, git@vger.kernel.org X-From: git-owner@vger.kernel.org Sun Jul 03 22:49:45 2011 Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.180.67]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QdTbr-0008OR-LF for gcvg-git-2@lo.gmane.org; Sun, 03 Jul 2011 22:49:44 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752287Ab1GCUta (ORCPT ); Sun, 3 Jul 2011 16:49:30 -0400 Received: from mail-fx0-f52.google.com ([209.85.161.52]:65040 "EHLO mail-fx0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751829Ab1GCUt3 (ORCPT ); Sun, 3 Jul 2011 16:49:29 -0400 Received: by fxd18 with SMTP id 18so4671294fxd.11 for ; Sun, 03 Jul 2011 13:49:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:x-mailer:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=3D2cyxspI6TOvekaQCimMKPBZ5GuoL7aAR0ccQqsR8k=; b=qVfLdi5c3WGpmbtrnEyxglOc5aLaFPP48Z9nTm0J7I4Xt+GzD7R45CEaBhSmaCqOsF RjgGAO3IQnlFqLyC2Mqqy9YgXMRtCQY1DlnAOMT7nSko466tffoxQxfvSMQULqFA28eI ZbqCCg87wkq8WA1RNdWmi6XeoOZdnsf6KV7JI= Received: by 10.223.79.139 with SMTP id p11mr8328655fak.118.1309726168399; Sun, 03 Jul 2011 13:49:28 -0700 (PDT) Received: from localhost.localdomain (dra38-7-88-179-84-80.fbx.proxad.net [88.179.84.80]) by mx.google.com with ESMTPS id n27sm4044550faa.4.2011.07.03.13.49.26 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 03 Jul 2011 13:49:27 -0700 (PDT) X-Mailer: git-send-email 1.7.6.133.gd3b55a In-Reply-To: Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: The 'pre-svn-dcommit' hook is called by 'git svn dcommit' and can be used to prevent some diff to be committed to a SVN repository. It may typically be used to filter some intermediate patches, which were committed into git but must not find their way to the SVN repository. It takes a single parameter, the reference given to 'git svn dcommit'. If the hook exists with a non zero-status, 'git svn dcommit' will abort. Documentation/git-svn.txt | 14 +++++++++++++- git-svn.perl | 21 +++++++++++++++++++++ 2 files changed, 34 insertions(+), 1 deletions(-)