projects
/
clearscm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d266a55
)
Fixed in_git_repo to handle the case where we are in a UNC path.
author
adefaria
<adefaria@adefaria-lt.audience.local>
Tue, 1 Apr 2014 20:53:47 +0000
(13:53 -0700)
committer
adefaria
<adefaria@adefaria-lt.audience.local>
Tue, 1 Apr 2014 20:53:47 +0000
(13:53 -0700)
rc/git
patch
|
blob
|
history
diff --git
a/rc/git
b/rc/git
index
fabea71
..
c6253a2
100644
(file)
--- a/
rc/git
+++ b/
rc/git
@@
-16,7
+16,7
@@
function in_git_repo {
pwd=$PWD
function in_git_repo {
pwd=$PWD
- while [ "$pwd" != "/" ]; do
+ while [ "$pwd" != "/"
-a "$pwd" != "//"
]; do
if [ -d "$pwd/.git" ]; then
true;
return;
if [ -d "$pwd/.git" ]; then
true;
return;