summaryrefslogtreecommitdiff
path: root/advice.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2012-01-16 16:46:16 +0700
committerJunio C Hamano <gitster@pobox.com>2012-01-16 16:26:27 -0800
commit2857093ba15982d21ff0d5a9fd65294ac895cb67 (patch)
tree64b1314c469f9192be5aee4b966d7e0265b8a8f5 /advice.h
parent5a7d5b683f869d3e3884a89775241afa515da9e7 (diff)
downloadgit-2857093ba15982d21ff0d5a9fd65294ac895cb67.tar.gz
clone: print advice on checking out detached HEAD
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'advice.h')
-rw-r--r--advice.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/advice.h b/advice.h
index e5d0af782b..7bda45b83e 100644
--- a/advice.h
+++ b/advice.h
@@ -14,5 +14,6 @@ int git_default_advice_config(const char *var, const char *value);
void advise(const char *advice, ...);
int error_resolve_conflict(const char *me);
extern void NORETURN die_resolve_conflict(const char *me);
+void detach_advice(const char *new_name);
#endif /* ADVICE_H */