Mark string with advice seen by the user when in detached head.
Signed-off-by: Vasco Almeida <[email protected]>
---
advice.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/advice.c b/advice.c
index 4dc5cf1..703a847 100644
--- a/advice.c
+++ b/advice.c
@@ -107,13 +107,13 @@ void NORETURN die_conclude_merge(void)
void detach_advice(const char *new_name)
{
const char fmt[] =
- "Note: checking out '%s'.\n\n"
+ N_("Note: checking out '%s'.\n\n"
"You are in 'detached HEAD' state. You can look around, make
experimental\n"
"changes and commit them, and you can discard any commits you make in
this\n"
"state without impacting any branches by performing another
checkout.\n\n"
"If you want to create a new branch to retain commits you create, you
may\n"
"do so (now or later) by using -b with the checkout command again.
Example:\n\n"
- " git checkout -b <new-branch-name>\n\n";
+ " git checkout -b <new-branch-name>\n\n");
fprintf(stderr, fmt, new_name);
}
--
2.7.3
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html