* [BUG] git stash -k show the help message for diff-index
@ 2011-10-05 15:13 Matthieu Moy
2011-10-05 17:43 ` Junio C Hamano
0 siblings, 1 reply; 3+ messages in thread
From: Matthieu Moy @ 2011-10-05 15:13 UTC (permalink / raw)
To: git
Everything is in the title. No time to bisect/fix this now, but:
$ git status
# On branch master
nothing to commit (working directory clean)
$ git stash -k
usage: git diff-index [-m] [--cached] [<common diff options>] <tree-ish> [<path>...]
common diff options:
-z output diff-raw with lines terminated with NUL.
-p output patch format.
-u synonym for -p.
--patch-with-raw
output both a patch and the diff-raw format.
--stat show diffstat instead of patch.
--numstat show numeric diffstat instead of patch.
--patch-with-stat
output a patch and prepend its diffstat.
--name-only show only names of changed files.
--name-status show names and status of changed files.
--full-index show full object name on index lines.
--abbrev=<n> abbreviate object names in diff-tree header and diff-raw.
-R swap input file pairs.
-B detect complete rewrites.
-M detect renames.
-C detect copies.
--find-copies-harder
try unchanged files as candidate for copy detection.
-l<n> limit rename attempts up to <n> paths.
-O<file> reorder diffs according to the <file>.
-S<string> find filepair whose only one side contains the string.
--pickaxe-all
show all files diff when -S is used and hit is found.
-a --text treat all files as text.
usage: git diff-index [-m] [--cached] [<common diff options>] <tree-ish> [<path>...]
common diff options:
-z output diff-raw with lines terminated with NUL.
-p output patch format.
-u synonym for -p.
--patch-with-raw
output both a patch and the diff-raw format.
--stat show diffstat instead of patch.
--numstat show numeric diffstat instead of patch.
--patch-with-stat
output a patch and prepend its diffstat.
--name-only show only names of changed files.
--name-status show names and status of changed files.
--full-index show full object name on index lines.
--abbrev=<n> abbreviate object names in diff-tree header and diff-raw.
-R swap input file pairs.
-B detect complete rewrites.
-M detect renames.
-C detect copies.
--find-copies-harder
try unchanged files as candidate for copy detection.
-l<n> limit rename attempts up to <n> paths.
-O<file> reorder diffs according to the <file>.
-S<string> find filepair whose only one side contains the string.
--pickaxe-all
show all files diff when -S is used and hit is found.
-a --text treat all files as text.
Saved working directory and index state WIP on master: 977c790 foo
HEAD is now at 977c790 foo
--
Matthieu Moy
http://www-verimag.imag.fr/~moy/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [BUG] git stash -k show the help message for diff-index
2011-10-05 15:13 [BUG] git stash -k show the help message for diff-index Matthieu Moy
@ 2011-10-05 17:43 ` Junio C Hamano
2011-10-06 9:54 ` Matthieu Moy
0 siblings, 1 reply; 3+ messages in thread
From: Junio C Hamano @ 2011-10-05 17:43 UTC (permalink / raw)
To: Matthieu Moy; +Cc: git
Matthieu Moy <Matthieu.Moy@grenoble-inp.fr> writes:
> Everything is in the title. No time to bisect/fix this now, but:
>
> $ git status
> # On branch master
> nothing to commit (working directory clean)
> $ git stash -k
> usage: git diff-index [-m] [--cached] [<common diff options>] <tree-ish> [<path>...]
Hmm, does not reproduce.
: alter victim-2.git/master; git status
# On branch master
nothing to commit (working directory clean)
: alter victim-2.git/master; git stash -k
No local changes to save
: alter victim-2.git/master; git version
git version 1.7.7
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [BUG] git stash -k show the help message for diff-index
2011-10-05 17:43 ` Junio C Hamano
@ 2011-10-06 9:54 ` Matthieu Moy
0 siblings, 0 replies; 3+ messages in thread
From: Matthieu Moy @ 2011-10-06 9:54 UTC (permalink / raw)
To: Junio C Hamano; +Cc: git
Junio C Hamano <gitster@pobox.com> writes:
> Hmm, does not reproduce.
>
> : alter victim-2.git/master; git status
> # On branch master
> nothing to commit (working directory clean)
> : alter victim-2.git/master; git stash -k
> No local changes to save
> : alter victim-2.git/master; git version
> git version 1.7.7
Sorry, I should have mentionned that: I had the bug with next.
I've tried bisecting it down, but the bug mysteriously disappeared
during the bisect (I did have bad and good commits during bisect, but at
the end, I had only good commits, and the bad ones weren't
reproducible).
I can't reproduce anymore.
--
Matthieu Moy
http://www-verimag.imag.fr/~moy/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-10-06 9:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-05 15:13 [BUG] git stash -k show the help message for diff-index Matthieu Moy
2011-10-05 17:43 ` Junio C Hamano
2011-10-06 9:54 ` Matthieu Moy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).