From: Junio C Hamano Date: Thu, 26 Feb 2009 20:35:57 GMT Subject: Re: [PATCH] added -C option to chdir() into another directory first Message-ID: <7vr61lq6ky.fsf@gitster.siamese.dyndns.org> In-Reply-To: <1235679099-33994-1-git-send-email-kbrint@rufus.net> kevin brintnall writes: > This allows things like 'git -C /somewhere pull' without specifying both > --work-tree and --git-dir. Where should "git -C sub/dir apply this.patch" find the file "this.patch"? More generally, when "git -C there cmd arg1 arg2 arg3..." is run, how should the implementation of cmd learn what to prefix arg$N with?