summaryrefslogtreecommitdiff
path: root/builtin/pack-refs.c
diff options
context:
space:
mode:
authorLibravatar ZheNing Hu <adlternative@gmail.com>2021-02-19 12:53:54 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-02-22 13:35:49 -0800
commit1c881026a1eebadd1eae8cc3a4418b010df35bee (patch)
treed2a330fb3bb6ab61db99d886371f7ed89c524452 /builtin/pack-refs.c
parentdiff: --{rotate,skip}-to=<path> (diff)
downloadtgif-1c881026a1eebadd1eae8cc3a4418b010df35bee.tar.xz
difftool.c: learn a new way start at specified file
`git difftool` only allow us to select file to view in turn. If there is a commit with many files and we exit in the middle, we will have to traverse list again to get the file diff which we want to see. Therefore,teach the command an option `--skip-to=<path>` to allow the user to say that diffs for earlier paths are not interesting (because they were already seen in an earlier session) and start this session with the named path. Signed-off-by: ZheNing Hu <adlternative@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/pack-refs.c')
0 files changed, 0 insertions, 0 deletions