From mboxrd@z Thu Jan 1 00:00:00 1970 From: "J. Bakshi" Subject: Re: How to force git to use authentication as author Date: Thu, 14 Jul 2011 16:18:38 +0530 Message-ID: <20110714161838.1e30893a@shiva.selfip.org> References: <20110714160638.065b6542@shiva.selfip.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: git@vger.kernel.org To: =?UTF-8?B?w4Z2YXIgQXJuZmrDtnLDsA==?= Bjarmason X-From: git-owner@vger.kernel.org Thu Jul 14 12:48:46 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 1QhJTG-0007uv-4i for gcvg-git-2@lo.gmane.org; Thu, 14 Jul 2011 12:48:42 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754343Ab1GNKsh convert rfc822-to-quoted-printable (ORCPT ); Thu, 14 Jul 2011 06:48:37 -0400 Received: from static.206.87.46.78.clients.your-server.de ([78.46.87.206]:56775 "EHLO Kolkata.infoservices.in" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754339Ab1GNKsg convert rfc822-to-8bit (ORCPT ); Thu, 14 Jul 2011 06:48:36 -0400 Received: from shiva.selfip.org (unknown [122.176.30.116]) by Kolkata.infoservices.in (Postfix) with ESMTPSA id 9D9B92004001; Thu, 14 Jul 2011 12:48:33 +0200 (CEST) In-Reply-To: X-Mailer: Claws Mail 3.7.9 (GTK+ 2.24.4; x86_64-pc-linux-gnu) Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On Thu, 14 Jul 2011 12:38:59 +0200 =C3=86var Arnfj=C3=B6r=C3=B0 Bjarmason wrote: > On Thu, Jul 14, 2011 at 12:36, J. Bakshi wr= ote: >=20 > > How can I force git to use the username as define at /home/git/PASS= WD as the author name for git commit ? >=20 > Edit the global bashrc to have: >=20 > export GIT_AUTHOR_NAME=3D$(cat ~/PASSWD) >=20 > ? Thanks.=20 [1] will it work with file generated by htpasswd ? as that file is actu= ally created by same (/home/git/PASSWD) [2] And the commit is over http, So is it effective to set the value by= .bashrc ?