@ -10,11 +10,15 @@ Updates since v1.5.0
|
|||||||
|
|
||||||
* New commands and options.
|
* New commands and options.
|
||||||
|
|
||||||
- "git log" and friends take --reverse. This makes output
|
- "git log" and friends take --reverse, which instructs them
|
||||||
that typically goes reverse order in chronological order.
|
to give their output in the order opposite from their usual.
|
||||||
"git shortlog" usually lists commits in chronological order,
|
They typically output from new to old, but with this option
|
||||||
but with "--reverse", they are shown in reverse
|
their output would read from old to new. "git shortlog"
|
||||||
chronological order.
|
usually lists older commits first, but with this option,
|
||||||
|
they are shown from new to old.
|
||||||
|
|
||||||
|
- "git log --pretty=format:<string>" to allow more flexible
|
||||||
|
custom log output.
|
||||||
|
|
||||||
- "git diff" learned --ignore-space-at-eol. This is a weaker
|
- "git diff" learned --ignore-space-at-eol. This is a weaker
|
||||||
form of --ignore-space-change.
|
form of --ignore-space-change.
|
||||||
@ -22,9 +26,6 @@ Updates since v1.5.0
|
|||||||
- "git diff --no-index pathA pathB" can be used as diff
|
- "git diff --no-index pathA pathB" can be used as diff
|
||||||
replacement with git specific enhancements.
|
replacement with git specific enhancements.
|
||||||
|
|
||||||
- "git diff --pretty=format:<string>" to allow more flexible
|
|
||||||
custom log output.
|
|
||||||
|
|
||||||
- "git diff --no-index" can read from '-' (standard input).
|
- "git diff --no-index" can read from '-' (standard input).
|
||||||
|
|
||||||
- "git diff" also learned --exit-code to exit with non-zero
|
- "git diff" also learned --exit-code to exit with non-zero
|
||||||
@ -33,6 +34,17 @@ Updates since v1.5.0
|
|||||||
backward incompatible change; it will stay as an option for
|
backward incompatible change; it will stay as an option for
|
||||||
now.
|
now.
|
||||||
|
|
||||||
|
- "git diff --quiet" is --exit-code with output turned off,
|
||||||
|
meant for scripted use to quickly determine if there is any
|
||||||
|
tree-level difference.
|
||||||
|
|
||||||
|
- Textual patch generation with "git diff" without -w/-b
|
||||||
|
option has been significantly optimized. "git blame" got
|
||||||
|
faster because of the same change.
|
||||||
|
|
||||||
|
- "git log" and "git rev-list" has been optimized
|
||||||
|
significantly when they are used with pathspecs.
|
||||||
|
|
||||||
- "git branch --track" can be used to set up configuration
|
- "git branch --track" can be used to set up configuration
|
||||||
variables to help it easier to base your work on branches
|
variables to help it easier to base your work on branches
|
||||||
you track from a remote site.
|
you track from a remote site.
|
||||||
@ -61,6 +73,19 @@ Updates since v1.5.0
|
|||||||
symlinks on filesystems that do not support them; they are
|
symlinks on filesystems that do not support them; they are
|
||||||
checked out as regular files instead.
|
checked out as regular files instead.
|
||||||
|
|
||||||
|
- You can name a commit object with its first line of the
|
||||||
|
message. The syntax to use is ':/message text'. E.g.
|
||||||
|
|
||||||
|
$ git show ":/object name: introduce ':/<oneline prefix>' notation"
|
||||||
|
|
||||||
|
means the same thing as:
|
||||||
|
|
||||||
|
$ git show 28a4d940443806412effa246ecc7768a21553ec7
|
||||||
|
|
||||||
|
- "git bisect" learned a new command "run" that takes a script
|
||||||
|
to run after each revision is checked out to determine if it
|
||||||
|
is good or bad, to automate the bisection process.
|
||||||
|
|
||||||
|
|
||||||
* Updated behaviour of existing commands.
|
* Updated behaviour of existing commands.
|
||||||
|
|
||||||
@ -133,6 +158,9 @@ Updates since v1.5.0
|
|||||||
|
|
||||||
- send-email learned configurable bcc and chain-reply-to.
|
- send-email learned configurable bcc and chain-reply-to.
|
||||||
|
|
||||||
|
- "git remote show $remote" also talks about branches that
|
||||||
|
would be pushed if you run "git push remote".
|
||||||
|
|
||||||
- Using objects from packs is now seriouly optimized by clever
|
- Using objects from packs is now seriouly optimized by clever
|
||||||
use of a cache. This should be most noticeable in git-log
|
use of a cache. This should be most noticeable in git-log
|
||||||
family of commands that involve reading many tree objects.
|
family of commands that involve reading many tree objects.
|
||||||
@ -143,10 +171,9 @@ Updates since v1.5.0
|
|||||||
|
|
||||||
* Hooks
|
* Hooks
|
||||||
|
|
||||||
- The sample update hook to show how to send out notification
|
- The part to send out notification e-mails was removed from
|
||||||
e-mail was updated to show only new commits that appeared in
|
the sample update hook, as it was not an appropriate place
|
||||||
the repository. Earlier, it showed new commits that appeared
|
to do so.
|
||||||
on the branch.
|
|
||||||
|
|
||||||
|
|
||||||
* Others
|
* Others
|
||||||
@ -156,7 +183,7 @@ Updates since v1.5.0
|
|||||||
|
|
||||||
--
|
--
|
||||||
exec >/var/tmp/1
|
exec >/var/tmp/1
|
||||||
O=v1.5.0.5-446-g5d86501
|
O=v1.5.1-rc1-63-g12d6697
|
||||||
echo O=`git describe master`
|
echo O=`git describe master`
|
||||||
git shortlog --no-merges $O..master ^maint
|
git shortlog --no-merges $O..master ^maint
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
GVF=GIT-VERSION-FILE
|
GVF=GIT-VERSION-FILE
|
||||||
DEF_VER=v1.5.1-rc1.GIT
|
DEF_VER=v1.5.1-rc2.GIT
|
||||||
|
|
||||||
LF='
|
LF='
|
||||||
'
|
'
|
||||||
|
Reference in New Issue
Block a user