reset.c: finish entire cmd_reset() whether or not pathspec is given

Martin von Zweigbergk committed almost 14 years ago

reset [--mixed]: only write index file once

Martin von Zweigbergk committed almost 14 years ago

reset.c: move lock, write and commit out of update_index_refresh()

Martin von Zweigbergk committed almost 14 years ago

reset.c: move update_index_refresh() call out of read_from_tree()

Martin von Zweigbergk committed almost 14 years ago

reset.c: replace switch by if-else

Martin von Zweigbergk committed almost 14 years ago

reset: avoid redundant error message

Martin von Zweigbergk committed almost 14 years ago

reset --keep: only write index file once

Martin von Zweigbergk committed almost 14 years ago

reset.c: share call to die_if_unmerged_cache()

Martin von Zweigbergk committed almost 14 years ago

reset.c: extract function for updating {ORIG_,}HEAD

Martin von Zweigbergk committed almost 14 years ago

reset.c: remove unnecessary variable 'i'

Martin von Zweigbergk committed almost 14 years ago

reset.c: extract function for parsing arguments

Martin von Zweigbergk committed almost 14 years ago

reset: don't allow "git reset -- $pathspec" in bare repo

Martin von Zweigbergk committed almost 14 years ago

reset.c: pass pathspec around instead of (prefix, argv) pair

Martin von Zweigbergk committed almost 14 years ago

reset $pathspec: exit with code 0 if successful

Martin von Zweigbergk committed almost 14 years ago

reset $pathspec: no need to discard index

Martin von Zweigbergk committed almost 14 years ago

attr: fix off-by-one directory component length calculation

Nguyễn Thái Ngọc Duy committed almost 14 years ago

hooks: Add function to check if a hook exists

Aaron Schrab committed almost 14 years ago

← Newer Page 2519 of 4099 Older →