Sync with 2.6.4
commit
fa5f2398e5
|
@ -44,5 +44,20 @@ Fixes since v2.6.3
|
||||||
computing the object name of the target of symbolic link, which may
|
computing the object name of the target of symbolic link, which may
|
||||||
not even exist or may be a directory.
|
not even exist or may be a directory.
|
||||||
|
|
||||||
|
* There was no way to defeat a configured rebase.autostash variable
|
||||||
|
from the command line, as "git rebase --no-autostash" was missing.
|
||||||
|
|
||||||
|
* Allow "git interpret-trailers" to run outside of a Git repository.
|
||||||
|
|
||||||
|
* Produce correct "dirty" marker for shell prompts, even when we
|
||||||
|
are on an orphan or an unborn branch.
|
||||||
|
|
||||||
|
* Some corner cases have been fixed in string-matching done in "git
|
||||||
|
status".
|
||||||
|
|
||||||
|
* Apple's common crypto implementation of SHA1_Update() does not take
|
||||||
|
more than 4GB at a time, and we now have a compile-time workaround
|
||||||
|
for it.
|
||||||
|
|
||||||
Also contains typofixes, documentation updates and trivial code
|
Also contains typofixes, documentation updates and trivial code
|
||||||
clean-ups.
|
clean-ups.
|
||||||
|
|
|
@ -43,9 +43,10 @@ unreleased) version of Git, that is available from the 'master'
|
||||||
branch of the `git.git` repository.
|
branch of the `git.git` repository.
|
||||||
Documentation for older releases are available here:
|
Documentation for older releases are available here:
|
||||||
|
|
||||||
* link:v2.6.3/git.html[documentation for release 2.6.3]
|
* link:v2.6.4/git.html[documentation for release 2.6.4]
|
||||||
|
|
||||||
* release notes for
|
* release notes for
|
||||||
|
link:RelNotes/2.6.4.txt[2.6.4],
|
||||||
link:RelNotes/2.6.3.txt[2.6.3],
|
link:RelNotes/2.6.3.txt[2.6.3],
|
||||||
link:RelNotes/2.6.2.txt[2.6.2],
|
link:RelNotes/2.6.2.txt[2.6.2],
|
||||||
link:RelNotes/2.6.1.txt[2.6.1],
|
link:RelNotes/2.6.1.txt[2.6.1],
|
||||||
|
|
|
@ -1317,15 +1317,14 @@ static int grab_1st_switch(unsigned char *osha1, unsigned char *nsha1,
|
||||||
target += strlen(" to ");
|
target += strlen(" to ");
|
||||||
strbuf_reset(&cb->buf);
|
strbuf_reset(&cb->buf);
|
||||||
hashcpy(cb->nsha1, nsha1);
|
hashcpy(cb->nsha1, nsha1);
|
||||||
for (end = target; *end && *end != '\n'; end++)
|
end = strchrnul(target, '\n');
|
||||||
;
|
strbuf_add(&cb->buf, target, end - target);
|
||||||
if (!memcmp(target, "HEAD", end - target)) {
|
if (!strcmp(cb->buf.buf, "HEAD")) {
|
||||||
/* HEAD is relative. Resolve it to the right reflog entry. */
|
/* HEAD is relative. Resolve it to the right reflog entry. */
|
||||||
|
strbuf_reset(&cb->buf);
|
||||||
strbuf_addstr(&cb->buf,
|
strbuf_addstr(&cb->buf,
|
||||||
find_unique_abbrev(nsha1, DEFAULT_ABBREV));
|
find_unique_abbrev(nsha1, DEFAULT_ABBREV));
|
||||||
return 1;
|
|
||||||
}
|
}
|
||||||
strbuf_add(&cb->buf, target, end - target);
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue