aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/commit.c
AgeCommit message (Expand)AuthorFilesLines
2016-10-17sequencer: use memoized sequencer directory pathJohannes Schindelin1-1/+1
2016-09-26Merge branch 'tg/add-chmod+x-fix'Junio C Hamano1-1/+1
2016-09-15add: modify already added files when --chmod is givenThomas Gummerer1-1/+1
2016-09-08Merge branch 'jh/status-v2-porcelain'Junio C Hamano1-44/+34
2016-08-11status: print branch info with --porcelain=v2 --branchJeff Hostetler1-0/+5
2016-08-11status: collect per-file data for --porcelain=v2Jeff Hostetler1-0/+3
2016-08-10Merge branch 'os/no-verify-skips-commit-msg-too' into maintJunio C Hamano1-1/+1
2016-08-08Merge branch 'pb/commit-editmsg-path' into maintJunio C Hamano1-7/+8
2016-08-05status: support --porcelain[=<version>]Jeff Hostetler1-3/+18
2016-08-05status: cleanup API to wt_status_printJeff Hostetler1-42/+9
2016-08-05status: rename long-format print routinesJeff Hostetler1-2/+2
2016-08-03Merge branch 'os/no-verify-skips-commit-msg-too'Junio C Hamano1-1/+1
2016-07-28Merge branch 'js/find-commit-subject-ignore-leading-blanks' into maintJunio C Hamano1-1/+1
2016-07-26commit: describe that --no-verify skips the commit-msg hook in the help textOrgad Shaneh1-1/+1
2016-07-11Merge branch 'js/find-commit-subject-ignore-leading-blanks'Junio C Hamano1-1/+1
2016-07-06Merge branch 'pb/commit-editmsg-path'Junio C Hamano1-7/+8
2016-06-29commit -C: skip blank lines at the beginning of the messageJohannes Schindelin1-1/+1
2016-06-09builtin/commit.c: memoize git-path for COMMIT_EDITMSGPranit Bauva1-7/+8
2016-06-07add: add --chmod=+x / --chmod=-x optionsEdward Thomson1-1/+1
2016-05-23Merge branch 'pb/commit-verbose-config'Junio C Hamano1-0/+10
2016-05-10commit: add a commit.verbose config variablePranit Bauva1-0/+10
2016-05-02Merge branch 'ad/commit-have-m-option' into maintJunio C Hamano1-3/+3
2016-04-22Merge branch 'ad/commit-have-m-option'Junio C Hamano1-3/+3
2016-04-14Merge branch 'ss/commit-squash-msg' into maintJunio C Hamano1-1/+10
2016-04-07commit: do not ignore an empty message given by -m ''Jeff King1-3/+3
2016-04-06Merge branch 'ss/commit-squash-msg'Junio C Hamano1-1/+10
2016-03-21commit: do not lose SQUASH_MSG contentsSven Strickroth1-1/+10
2016-02-25diff: activate diff.renames by defaultMatthieu Moy1-0/+1
2016-01-28Merge branch 'jc/strbuf-getline'Junio C Hamano1-1/+1
2016-01-20Merge branch 'js/fopen-harder'Junio C Hamano1-1/+1
2016-01-15strbuf: introduce strbuf_getline_{lf,nul}()Junio C Hamano1-1/+1
2016-01-07commit: allow editing the commit message even in shared reposJohannes Schindelin1-1/+1
2015-12-10Merge branch 'bc/object-id'Junio C Hamano1-4/+4
2015-11-20Remove get_object_hash.brian m. carlson1-4/+4
2015-11-20Add several uses of get_object_hash.brian m. carlson1-4/+4
2015-11-16allow hooks to ignore their standard input streamClemens Buchacher1-0/+3
2015-10-16strbuf: make stripspace() part of strbufTobias Klauser1-3/+3
2015-09-01Merge branch 'dt/commit-preserve-base-index-upon-opportunistic-cache-tree-upd...Junio C Hamano1-3/+1
2015-08-31commit: don't rewrite shared index unnecessarilyDavid Turner1-3/+1
2015-08-25Merge branch 'mh/tempfile'Junio C Hamano1-7/+8
2015-08-10memoize common git-path "constant" filesJeff King1-16/+16
2015-08-10lockfile: add accessor get_lock_file_path()Michael Haggerty1-7/+8
2015-06-29convert "enum date_mode" into a structJeff King1-2/+2
2015-06-05Merge branch 'pt/xdg-config-path' into maintJunio C Hamano1-5/+3
2015-05-26Merge branch 'nd/untracked-cache'Junio C Hamano1-2/+3
2015-05-11Merge branch 'pt/xdg-config-path'Junio C Hamano1-5/+3
2015-05-11Merge branch 'nd/multiple-work-trees'Junio C Hamano1-1/+1
2015-05-06git-commit: replace use of home_config_paths()Paul Tan1-5/+3
2015-03-23commit.c: fix a memory leakStefan Beller1-2/+4
2015-03-12status: enable untracked cacheNguyễn Thái Ngọc Duy1-2/+3
2015-03-05Merge branch 'mh/refs-have-new'Junio C Hamano1-2/+2
2015-02-17commit: avoid race when creating orphan commitsMichael Haggerty1-1/+1
2015-02-17ref_transaction_update(): remove "have_old" parameterMichael Haggerty1-1/+1
2015-02-17Merge branch 'mg/commit-author-no-match-malformed-message'Junio C Hamano1-1/+1
2015-02-11Merge branch 'ah/usage-strings'Junio C Hamano1-2/+2
2015-02-11Merge branch 'jk/blame-commit-label'Junio C Hamano1-9/+3
2015-01-26commit: reword --author error messageMichael J Gruber1-1/+1
2015-01-14standardize usage info string formatAlex Henrie1-2/+2
2015-01-13builtin/commit.c: use xstrdup_or_null instead of envdupJeff King1-9/+3
2014-12-22Merge branch 'jk/commit-date-approxidate'Junio C Hamano1-30/+18
2014-12-22Merge branch 'cc/interpret-trailers-more'Junio C Hamano1-26/+2
2014-12-11commit: always populate GIT_AUTHOR_* variablesJeff King1-21/+5
2014-12-11commit: loosen ident checks when generating templateJeff King1-9/+14
2014-12-01commit: use SEQ_DIR instead of hardcoding "sequencer"Nguyễn Thái Ngọc Duy1-1/+1
2014-11-10commit: make ignore_non_trailer() non staticChristian Couder1-46/+0
2014-11-10Merge branch 'jc/conflict-hint' into cc/interpret-trailers-moreJunio C Hamano1-26/+48
2014-10-28merge & sequencer: turn "Conflicts:" hint into a commentJunio C Hamano1-16/+31
2014-10-28builtin/commit.c: extract ignore_non_trailer() helper functionJunio C Hamano1-26/+33
2014-10-21Merge branch 'rs/ref-transaction'Junio C Hamano1-3/+3
2014-10-20Merge branch 'jn/parse-config-slot'Junio C Hamano1-12/+10
2014-10-15refs.c: change resolve_ref_unsafe reading argument to be a flags fieldRonnie Sahlberg1-1/+1
2014-10-15refs.c: pass the ref log message to _create/delete/update instead of _commitRonnie Sahlberg1-2/+2
2014-10-14color_parse: do not mention variable name in error messageJeff King1-2/+1
2014-10-14pass config slots as pointers instead of offsetsJonathan Nieder1-10/+9
2014-10-14Merge branch 'rs/more-uses-of-skip-prefix'Junio C Hamano1-9/+9
2014-10-07use skip_prefix() to avoid more magic numbersRené Scharfe1-9/+9
2014-10-01lockfile.h: extract new header file for the functions in lockfile.cMichael Haggerty1-0/+1
2014-10-01lockfile: change lock_file::filename into a strbufMichael Haggerty1-6/+6
2014-10-01prepare_index(): declare return value to be (const char *)Michael Haggerty1-2/+2
2014-09-19Merge branch 'ah/grammofix'Junio C Hamano1-1/+1
2014-09-19Merge branch 'jk/commit-author-parsing'Junio C Hamano1-41/+48
2014-09-11Merge branch 'dt/cache-tree-repair'Junio C Hamano1-1/+13
2014-09-11Merge branch 'rs/ref-transaction-1'Junio C Hamano1-13/+12
2014-09-11Merge branch 'rs/child-process-init'Junio C Hamano1-2/+1
2014-09-09Merge branch 'sb/prepare-revision-walk-error-check'Junio C Hamano1-1/+2
2014-09-03commit.c: use ref transactions for updatesRonnie Sahlberg1-13/+12
2014-09-02Merge branch 'mm/config-edit-global'Junio C Hamano1-2/+33
2014-09-02grammofix in user-facing messagesAlex Henrie1-1/+1
2014-08-29determine_author_info(): copy getenv outputJeff King1-13/+27
2014-08-29determine_author_info(): reuse parsing functionsJeff King1-28/+21
2014-08-27date: use strbufs in date-formatting functionsJeff King1-10/+10
2014-08-20run-command: introduce CHILD_PROCESS_INITRené Scharfe1-2/+1
2014-08-12prepare_revision_walk(): check for return value in all placesStefan Beller1-1/+2
2014-07-25commit: advertise config --global --edit on guessed identityMatthieu Moy1-2/+33
2014-07-23Merge branch 'ta/string-list-init'Junio C Hamano1-2/+1
2014-07-22Merge branch 'rs/code-cleaning'Junio C Hamano1-1/+1
2014-07-21replace memset with string-list initializersTanay Abhra1-2/+1
2014-07-17strbuf: use strbuf_addstr() for adding C stringsRené Scharfe1-1/+1
2014-07-16Merge branch 'nd/split-index'Junio C Hamano1-19/+14
2014-07-16Merge branch 'jk/commit-buffer-length' into maintJunio C Hamano1-2/+2
2014-07-14cache-tree: Write updated cache-tree after commitDavid Turner1-1/+17
2014-07-09Merge branch 'jk/skip-prefix'Junio C Hamano1-3/+2
2014-07-02Merge branch 'jk/commit-buffer-length'Junio C Hamano1-2/+2
2014-06-25Merge branch 'jl/status-added-submodule-is-never-ignored' into maintJunio C Hamano1-2/+16
2014-06-25Merge branch 'jk/commit-C-pick-empty' into maintJunio C Hamano1-3/+2
2014-06-20refactor skip_prefix to return a booleanJeff King1-3/+2
2014-06-16Merge branch 'jl/status-added-submodule-is-never-ignored'Junio C Hamano1-2/+16
2014-06-13read-cache: new API write_locked_index instead of write_index/write_cacheNguyễn Thái Ngọc Duy1-19/+14
2014-06-12commit_tree: take a pointer/len pair rather than a const strbufJeff King1-2/+2
2014-06-06Merge branch 'nd/status-auto-comment-char'Junio C Hamano1-0/+32
2014-06-06Merge branch 'fc/status-printf-squelch-format-zero-length-warnings'Junio C Hamano1-1/+1
2014-06-06Merge branch 'jk/commit-C-pick-empty'Junio C Hamano1-3/+2
2014-06-03Merge branch 'jk/commit-date-approxidate'Junio C Hamano1-19/+60
2014-05-19commit: allow core.commentChar=auto for character auto selectionNguyễn Thái Ngọc Duy1-0/+32
2014-05-07silence a bunch of format-zero-length warningsFelipe Contreras1-1/+1
2014-05-02commit: accept more date formats for "--date"Jeff King1-2/+25
2014-05-02commit: print "Date" line when the user has set dateJeff King1-0/+19
2014-05-02commit: use split_ident_line to compare author/committerJeff King1-17/+16
2014-04-28commit: do not complain of empty messages from -CJeff King1-3/+2
2014-04-17commit.c: check for lock error and return earlyRonnie Sahlberg1-4/+4
2014-04-08Merge branch 'jl/nor-or-nand-and'Junio C Hamano1-1/+1
2014-04-08Merge branch 'jc/rev-parse-argh-dashed-multi-words'Junio C Hamano1-1/+1
2014-04-07commit -m: commit staged submodules regardless of ignore configJens Lehmann1-2/+16
2014-03-31code and test: fix misuses of "nor"Justin Lebar1-1/+1
2014-03-28Merge branch 'bp/commit-p-editor'Junio C Hamano1-7/+28
2014-03-25Merge branch 'nd/commit-editor-cleanup'Junio C Hamano1-3/+11
2014-03-24parse-options: multi-word argh should use dash to separate wordsJunio C Hamano1-1/+1
2014-03-18commit: fix patch hunk editing with "commit -p -m"Benoit Pierre1-7/+28
2014-02-27Merge branch 'ep/varscope'Junio C Hamano1-5/+6
2014-02-27Merge branch 'nd/submodule-pathspec-ending-with-slash'Junio C Hamano1-1/+1
2014-02-27Merge branch 'nv/commit-gpgsign-config'Junio C Hamano1-0/+4
2014-02-25commit: add --cleanup=scissorsNguyễn Thái Ngọc Duy1-3/+11
2014-02-24commit-tree: add the commit.gpgsign option to sign all commitsNicolas Vigier1-0/+4
2014-02-24pathspec: convert some match_pathspec_depth() to ce_path_match()Nguyễn Thái Ngọc Duy1-1/+1
2014-01-31builtin/commit.c: reduce scope of variablesElia Pinto1-5/+6
2013-12-17Merge branch 'cc/starts-n-ends-with'Junio C Hamano1-5/+5
2013-12-17Merge branch 'jl/commit-v-strip-marker'Junio C Hamano1-6/+3
2013-12-05commit -v: strip diffs and submodule shortlogs from the commit messageJens Lehmann1-6/+3
2013-12-05replace {pre,suf}fixcmp() with {starts,ends}_with()Christian Couder1-5/+5
2013-12-05Merge branch 'jk/robustify-parse-commit'Junio C Hamano1-2/+2
2013-10-24assume parse_commit checks for NULL commitJeff King1-2/+2
2013-09-20Merge branch 'mm/commit-template-squelch-advice-messages'Junio C Hamano1-8/+17
2013-09-20Merge branch 'bk/refs-multi-update'Junio C Hamano1-1/+1
2013-09-20Merge branch 'mm/status-without-comment-char'Junio C Hamano1-0/+10
2013-09-17Merge branch 'ap/commit-author-mailmap'Junio C Hamano1-1/+7
2013-09-12commit: disable status hints when writing to COMMIT_EDITMSGMatthieu Moy1-0/+6
2013-09-12wt-status: turn advice_status_hints into a field of wt_statusMatthieu Moy1-0/+1
2013-09-12commit: factor status configuration is a helper functionMatthieu Moy1-8/+10
2013-09-09Merge branch 'jl/submodule-mv'Junio C Hamano1-19/+18
2013-09-06status: disable display of '#' comment prefix by defaultMatthieu Moy1-0/+10
2013-09-04Merge branch 'sb/parseopt-boolean-removal'Junio C Hamano1-25/+23
2013-08-30refs: report ref type from lock_any_ref_for_updateBrad King1-1/+1
2013-08-24commit: search author pattern against mailmapAntoine Pelisse1-1/+7
2013-08-07branch, commit, name-rev: ease up boolean conditionsStefan Beller1-1/+1
2013-08-05Replace deprecated OPT_BOOLEAN by OPT_BOOLStefan Beller1-18/+18
2013-08-05Remove deprecated OPTION_BOOLEAN for parsing argumentsStefan Beller1-6/+4
2013-07-31Merge branch 'jk/commit-how-to-abort-cherry-pick'Junio C Hamano1-3/+22
2013-07-29commit: tweak empty cherry pick advice for sequencerJeff King1-3/+22
2013-07-24Merge branch 'sb/misc-fixes'Junio C Hamano1-1/+0
2013-07-22Merge branch 'nd/const-struct-cache-entry'Junio C Hamano1-1/+1
2013-07-15convert common_prefix() to use struct pathspecNguyễn Thái Ngọc Duy1-1/+1
2013-07-15convert add_files_to_cache to take struct pathspecNguyễn Thái Ngọc Duy1-1/+1
2013-07-15convert refresh_index to take struct pathspecNguyễn Thái Ngọc Duy1-1/+1
2013-07-15convert report_path_error to take struct pathspecNguyễn Thái Ngọc Duy1-8/+6
2013-07-15convert read_cache_preload() to take struct pathspecNguyễn Thái Ngọc Duy1-2/+2
2013-07-15status: convert to use parse_pathspecNguyễn Thái Ngọc Duy1-4/+5
2013-07-15commit: convert to use parse_pathspecNguyễn Thái Ngọc Duy1-9/+9
2013-07-15commit: Fix a memory leak in determine_author_infoStefan Beller1-1/+0
2013-07-11Merge branch 'jg/status-config'Junio C Hamano1-19/+64
2013-07-09Convert "struct cache_entry *" to "const ..." wherever possibleNguyễn Thái Ngọc Duy1-1/+1
2013-06-24Merge branch 'jh/libify-note-handling'Junio C Hamano1-1/+2
2013-06-24status/commit: make sure --porcelain is not affected by user-facing configJunio C Hamano1-22/+55
2013-06-24commit: make it work with status.shortRamkumar Ramachandra1-0/+1
2013-06-24status: introduce status.branch to enable --branch by defaultJorge Juan Garcia Garcia1-0/+4
2013-06-24status: introduce status.short to enable --short by defaultJorge Juan Garcia Garcia1-0/+7
2013-06-24Revert "Merge branch 'jg/status-config'"Junio C Hamano1-11/+0
2013-06-23Merge branch 'jg/status-config'Junio C Hamano1-0/+11
2013-06-15status: introduce status.branch to enable --branch by defaultJorge Juan Garcia Garcia1-0/+4
2013-06-12Move copy_note_for_rewrite + friends from builtin/notes.c to notes-utils.cJohan Herland1-0/+1
2013-06-12finish_copy_notes_for_rewrite(): Let caller provide commit messageJohan Herland1-1/+1
2013-06-11status: introduce status.short to enable --short by defaultJorge Juan Garcia Garcia1-0/+7
2013-06-05Merge branch 'rs/commit-m-no-edit'Junio C Hamano1-4/+6
2013-05-28commit: don't start editor if empty message is given with -mRené Scharfe1-4/+6
2013-04-18pretty: save commit encoding from logmsg_reencode if the caller needs itNguyễn Thái Ngọc Duy1-1/+1
2013-04-01Merge branch 'bc/append-signed-off-by'Junio C Hamano1-1/+1
2013-02-19git-commit: only append a newline to -m mesg if necessaryBrandon Casey1-1/+3
2013-02-12Merge branch 'maint'Junio C Hamano1-2/+2
2013-02-12sequencer.c: teach append_signoff how to detect duplicate s-o-bBrandon Casey1-1/+1
2013-02-12Replace filepattern with pathspec for consistencyMatthieu Moy1-2/+2
2013-02-04Merge branch 'jk/read-commit-buffer-data-after-free'Junio C Hamano1-12/+2
2013-02-04Merge branch 'jc/custom-comment-char'Junio C Hamano1-6/+6
2013-01-26logmsg_reencode: never return NULLJeff King1-12/+2
2013-01-26commit: drop useless xstrdup of commit messageJeff King1-1/+1
2013-01-23Merge branch 'as/pre-push-hook'Junio C Hamano1-4/+2
2013-01-16Allow custom "comment char"Junio C Hamano1-6/+6
2013-01-14hooks: Add function to check if a hook existsAaron Schrab1-4/+2
2013-01-10commit: make default of "cleanup" option configurableRalf Thielow1-1/+3
2012-11-15ident: keep separate "explicit" flags for author and committerJeff King1-2/+2
2012-10-18status: add --long output format optionJeff King1-6/+23
2012-10-01Merge branch 'os/commit-submodule-ignore'Junio C Hamano1-0/+1