Re: [RFC] GIT Repository Annotation Convention
- From
A Large Angry SCM <gitzilla@gmail.com>
- Date
- Sep 8, 2005, 18:58 UTC
- Message-ID
- <432089D5.7000102@gmail.com>
- In-Reply-To
- <7vr7bzv3r2.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 10 quoted lines
> A Large Angry SCM <gitzilla@gmail.com> writes: > >>Naming and Directory Structure >>------------------------------ >>Annotations are named by appending ".txt" to the basename of the >>repository component it describes, and by appending ".dir" to each >>directory patch component leading to the repository component from >>$GIT_DIR, and by prepending "annotations/" to the annotation pathname. > > I suspect you can do the same without .dir but only with .txt.
Think about a directory containing directories "foo" and "foo.txt":
With ".dir": foo.dir/ ... foo.txt foo.txt.dir/ ... foo.txt.txt
Without ".dir": foo/ ... ==> foo.txt ==> foo.txt/ ... foo.txt.txt