projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5e3438
)
Make sure we have leading directories under refs/{heads,tags}
author
Junio C Hamano
<junkio@cox.net>
Sat, 10 Sep 2005 17:40:47 +0000
(10:40 -0700)
committer
Junio C Hamano
<junkio@cox.net>
Sat, 10 Sep 2005 17:40:47 +0000
(10:40 -0700)
Otherwise having subdirectories under refs/heads becomes rather
unwieldy.
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-fetch.sh
patch
|
blob
|
history
diff --git
a/git-fetch.sh
b/git-fetch.sh
index
4928cd5
..
673a184
100755
(executable)
--- a/
git-fetch.sh
+++ b/
git-fetch.sh
@@
-94,6
+94,7
@@
append_fetch_head () {
}
fast_forward_local () {
+ mkdir -p "$(dirname "$GIT_DIR/$1")"
case "$1" in
refs/tags/*)
# Tags need not be pointing at commits so there