| 17016 06.01.2009 01:10:52, by Junio C Hamano:
Merge branch 'maint'
* maint: Be consistent in switch usage for tar Use capitalized names where appropriate fast-export: print usage when no options specified
|
| 17015 05.01.2009 22:01:01, by Junio C Hamano:
remove trailing LF in die() messages
LF at the end of format strings given to die() is redundant because die already adds one on its own.
Signed-off-by: Alexander Potashev <aspotashev@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com> |
| 17014 05.01.2009 21:04:23, by Junio C Hamano:
Be consistent in switch usage for tar
tar handles switches with and witout preceding '-', but the documentation should be consistent nonetheless.
Signed-off-by: Henrik Austad <henrik@austad.us> Signed-off-by: Junio C Hamano <gitster@pobox.com> |
| 17013 05.01.2009 21:04:02, by Junio C Hamano:
Use capitalized names where appropriate
The Linux kernel and Emacs are both spelled capitalized
Signed-off-by: Henrik Austad <henrik@austad.us> Signed-off-by: Junio C Hamano <gitster@pobox.com> |
| 17012 05.01.2009 19:55:27, by Junio C Hamano:
bash: add '--merge' to 'git reset'
Signed-off-by: SZEDER Gábor <szeder@ira.uka.de> Signed-off-by: Junio C Hamano <gitster@pobox.com> |
| 17011 05.01.2009 19:52:28, by Junio C Hamano:
show <tag>: reuse pp_user_info() instead of duplicating code
We used to extract the tagger information "by hand" in "git show <tag>", but the function pp_user_info() already does that. Even better: it respects the commit_format and date_format specified by the user.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com> |
| 17010 05.01.2009 19:45:54, by Junio C Hamano:
gitweb: use href() when generating URLs in OPML
Since the OPML project list view was hand-coding the RSS and HTML URLs, it didn't respect global options such as use_pathinfo. Make it use href() to ensure consistency with the rest of the gitweb setup.
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> Acked-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com> |
| 17009 03.01.2009 23:24:15, by Junio C Hamano:
fast-export: print usage when no options specified
Signed-off-by: Miklos Vajna <vmiklos@frugalware.org> Signed-off-by: Junio C Hamano <gitster@pobox.com> |
| 17008 03.01.2009 22:57:30, by Junio C Hamano:
Merge branch 'jc/maint-do-not-switch-to-non-commit'
* jc/maint-do-not-switch-to-non-commit: git checkout: do not allow switching to a tree-ish that is not a commit
|
| 17007 03.01.2009 22:57:10, by Junio C Hamano:
Merge branch 'ap/maint-apply-modefix'
* ap/maint-apply-modefix: builtin-apply: prevent non-explicit permission changes
|
| 17006 03.01.2009 22:34:19, by Junio C Hamano:
git checkout: do not allow switching to a tree-ish that is not a commit
"git checkout -b newbranch $commit^{tree}" mistakenly created a new branch rooted at the current HEAD, because in that case, the two structure fields used to see if the command was invoked without any argument (hence it needs to default to checking out the HEAD) were populated incorrectly.
Upon seeing a command line argument that we took as a rev, we should store that string in new.name, even if that does not name a commit. This will correctly trigger the existing safety logic.
Signed-off-by: Junio C Hamano <gitster@pobox.com> Acked-by: Daniel Barkalow <barkalow@iabervon.org> |
| 17005 02.01.2009 22:24:12, by Junio C Hamano:
builtin-apply: prevent non-explicit permission changes
A git patch that does not change the executable bit records the mode bits on its "index" line. "git apply" used to interpret this mode exactly the same way as it interprets the mode recorded on "new mode" line, as the wish by the patch submitter to set the mode to the one recorded on the line.
The reason the mode does not agree between the submitter and the receiver in the first place is because there is _another_ commit that only appears on one side but not the other since their histories diverged, and that commit changes the mode. The patch has "index" line but not "new mode" line because its change is about updating the contents without affecting the mode. The application of such a patch is an explicit wish by the submitter to only cherry-pick the commit that updates the contents without cherry-picking the commit that modifies the mode. Viewed this way, the current behaviour is problematic, even though the command does warn when the mode of the path being patched does not match this mode, and a careful user could detect this inconsistencies between the patch submitter and the patch receiver.
This changes the semantics of the mode recorded on the "index" line; instead of interpreting it as the submitter's wish to set the mode to the recorded value, it merely informs what the mode submitter happened to have, and the presense of the "index" line is taken as submitter's wish to keep whatever the mode is on the receiving end.
This is based on the patch originally done by Alexander Potashev with a minor fix; the tests are mine.
Signed-off-by: Junio C Hamano <gitster@pobox.com> |
| 17004 02.01.2009 22:19:40, by Junio C Hamano:
git wrapper: Make while loop more reader-friendly
It is not a good practice to prefer performance over readability in something as performance uncritical as finding the trailing slash of argv[0].
So avoid head-scratching by making the loop user-readable, and not hyper-performance-optimized.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com> |
| 17003 01.01.2009 14:48:40, by Junio C Hamano:
Merge branch 'cb/mergetool'
* cb/mergetool: mergetool: Don't keep temporary merge files unless told to mergetool: Add prompt to continue after failing to merge a file Add -y/--no-prompt option to mergetool Fix some tab/space inconsistencies in git-mergetool.sh
|
| 17002 01.01.2009 14:48:35, by Junio C Hamano:
Merge branch 'maint'
* maint: Documentation/git-tag.txt: minor typo and grammar fix
|
| 17001 01.01.2009 14:33:35, by Junio C Hamano:
Documentation/git-tag.txt: minor typo and grammar fix
Signed-off-by: jidanni <jidanni@jidanni.org> Signed-off-by: Junio C Hamano <gitster@pobox.com> |
| 17000 13.12.2008 05:53:44, by Junio C Hamano:
mergetool: Don't keep temporary merge files unless told to
This changes git mergetool to remove the temporary files used to invoke the merge tool even if it returns non-zero.
This also adds a configuration option (mergetool.keepTemporaries) to retain the previous behaviour if desired.
Signed-off-by: Charles Bailey <charles@hashpling.org> Signed-off-by: Junio C Hamano <gitster@pobox.com> |
| 16999 13.12.2008 05:53:41, by Junio C Hamano:
mergetool: Add prompt to continue after failing to merge a file
This option stops git mergetool from aborting at the first failed merge. After a failed merge the user will be prompted to indicated whether he wishes to continue with attempting to merge subsequent paths or to abort.
This allows some additional use patterns. Merge conflicts can now be previewed one at time and merges can also be skipped so that they can be performed in a later pass.
Signed-off-by: Charles Bailey <charles@hashpling.org> Signed-off-by: Junio C Hamano <gitster@pobox.com> |
| 16998 15.11.2008 06:30:55, by Junio C Hamano:
Add -y/--no-prompt option to mergetool
This option lets git mergetool invoke the conflict resolution program without waiting for a user prompt each time.
Also added a mergetool.prompt (default true) configuration variable controlling the same behaviour
Signed-off-by: Charles Bailey <charles@hashpling.org> Signed-off-by: Junio C Hamano <gitster@pobox.com> |
| 16997 15.11.2008 06:30:55, by Junio C Hamano:
Fix some tab/space inconsistencies in git-mergetool.sh
git-mergetool.sh mostly uses 8 space tabs and 4 spaces per indent. This change corrects this in a part of the file affect by a later commit in this patch series. diff -w considers this change is to be a null change.
Signed-off-by: Charles Bailey <charles@hashpling.org> Signed-off-by: Junio C Hamano <gitster@pobox.com> |
|
|