Re: [RFC] GIT Repository Annotation Convention
From: A Large Angry SCM <hidden>
Date: 2016-06-15 22:42:05
Junio C Hamano wrote:
A Large Angry SCM [off-list ref] writes:quoted
Junio C Hamano wrote:quoted
A Large Angry SCM [off-list ref] writes:quoted
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":And where do you see foo.txt under $GIT_DIR/ hierarchy?
Are you saying I can't name a branch "foo.txt"? Or have the following branches? $GIT_DIR/refs/head/WidgetSoft/Blue $GIT_DIR/refs/head/WidgetSoft/Red $GIT_DIR/refs/head/WidgetSoft.txt/Blue $GIT_DIR/refs/head/WidgetSoft.txt/Red