diff options
author | Andrew Cady <d@jerkface.net> | 2020-10-29 11:11:36 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2020-10-29 11:11:36 -0400 |
commit | b39ee0fb7e77e74d688b34c3a4fe02f2a6131f19 (patch) | |
tree | 3b8d2f44b48e458336da1c96c549338b6d2524f1 /dot | |
parent | 852ae4c67a67ea4673c82d09a038dd7cb9bfb818 (diff) |
shallow cloning breaks the detection of remote branch status
Diffstat (limited to 'dot')
-rwxr-xr-x | dot/local/bin/git-ll-remote | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dot/local/bin/git-ll-remote b/dot/local/bin/git-ll-remote index f7955d2..f4b058d 100755 --- a/dot/local/bin/git-ll-remote +++ b/dot/local/bin/git-ll-remote | |||
@@ -111,7 +111,7 @@ have_ref() | |||
111 | git_fetch() | 111 | git_fetch() |
112 | { | 112 | { |
113 | local hash="$1" ref="$2" | 113 | local hash="$1" ref="$2" |
114 | have_ref "$hash" || git fetch --depth=1 "$remote" "$ref" | 114 | have_ref "$hash" || git fetch "$remote" "$ref" |
115 | } | 115 | } |
116 | 116 | ||
117 | is_same_ref() | 117 | is_same_ref() |