File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -1881,16 +1881,14 @@ const char *setup_git_directory_gently(int *nongit_ok)
18811881 break ;
18821882 case GIT_DIR_HIT_CEILING :
18831883 if (!nongit_ok )
1884- die (_ ("not a git repository (or any of the parent directories): %s\n"
1885- "See also the 'git init' command for initializing a new repository." ),
1884+ die (_ ("not a git repository (or any of the parent directories): %s" ),
18861885 DEFAULT_GIT_DIR_ENVIRONMENT );
18871886 * nongit_ok = 1 ;
18881887 break ;
18891888 case GIT_DIR_HIT_MOUNT_POINT :
18901889 if (!nongit_ok )
18911890 die (_ ("not a git repository (or any parent up to mount point %s)\n"
1892- "Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).\n"
1893- "See also the 'git init' command for initializing a new repository." ),
1891+ "Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set)." ),
18941892 dir .buf );
18951893 * nongit_ok = 1 ;
18961894 break ;
You can’t perform that action at this time.
0 commit comments